Displaying 8 results from an estimated 8 matches for "construct_utmp".
Did you mean:
construct_utmpx
2024 Oct 14
1
openssh 9.9p1
The following alteration needs to be made to loginrec.c in the routine
record_failed_login()
#ifdef USE_UTMP
??????? construct_utmp(&li, &ut);
#endif
It was missing "#ifdef USE_UTMP" which causes an problem if you are not
using UTMP.
gt
2013 Jun 01
3
[Bug 2111] New: Android does not properly implement utmp or wtmp.
...-> https://bugzilla.mindrot.org/attachment.cgi?id=2283&action=edit
Disables utmp and wtmp for the Android platform.
After applying the latest patches for Android support in OpenSSH that
are set for inclusion in 6.3p1, I received the following errors from
gcc:
loginrec.c: In function 'construct_utmp':
loginrec.c:665:17: error: 'DEAD_PROCESS' undeclared (first use in
this function)
loginrec.c:665:17: note: each undeclared identifier is reported only
once for each function it appears in
loginrec.c: At top level:
loginrec.c:727:45: warning: 'struct utmpx' declared insi...
2000 Aug 09
3
Problems compiling openssh-2.1.1p2 on FreeBSD 4.0-RELEASE
...e openssh-2.1.1p2, but the compile fails with:
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H -c loginrec.c
loginrec.c: In function `construct_utmp':
loginrec.c:619: structure has no member named `ut_user'
loginrec.c:619: structure has no member named `ut_user'
loginrec.c:619: structure has no member named `ut_user'
loginrec.c: In function `syslogin_perform_login':
loginrec.c:1256: warning: implicit declaration of function...
2000 Jul 04
0
AW: FreeBSD 3.5-STABLE
...>>
>> gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\"
>-DSSH_PROGRAM=\"/usr/local/bin/ssh\" -
>> DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh/ssh-askpass\"
>-DHAVE_CONFIG_H -c loginrec.c
>> loginrec.c: In function `construct_utmp':
>> loginrec.c:619: structure has no member named `ut_user'
>[...]
>Would it be possible for you to switch to FreeBSD 4.0-RELEASE ?
>AFAIK, this includes openssh support per installation, so no hassle
>with porting it.
>
>Just a hint,
Just a hint, but i'm pr...
2002 Dec 29
0
[Bug 460] New: ut_addr_v6 not used
...#39; that knows how
to read ut_addr_v6 from the wtmp file (I'm the maintainer).
diff -ruN t/openssh-3.5p1/loginrec.c openssh-3.5p1/loginrec.c
--- t/openssh-3.5p1/loginrec.c 2002-09-26 02:38:49.000000000 +0200
+++ openssh-3.5p1/loginrec.c 2002-11-05 13:14:33.000000000 +0100
@@ -609,6 +609,9 @@
construct_utmp(struct logininfo *li,
struct utmp *ut)
{
+# ifdef HAVE_ADDR_V6_IN_UTMP
+ struct sockaddr_in6 *sa6;
+# endif
memset(ut, '\0', sizeof(*ut));
/* First fill out fields used for both logins and logouts */
@@ -661,6 +664,19 @@
if (li->hostaddr.sa.sa_family == AF_INET)
ut-&g...
2015 Jun 02
3
[Bug 2407] New: OpenSSH uses deprecated APIs on MacOS
https://bugzilla.mindrot.org/show_bug.cgi?id=2407
Bug ID: 2407
Summary: OpenSSH uses deprecated APIs on MacOS
Product: Portable OpenSSH
Version: -current
Hardware: All
OS: Mac OS X
Status: NEW
Severity: normal
Priority: P5
Component: Miscellaneous
Assignee: unassigned-bugs at
2000 Jul 03
0
FreeBSD 3.5-STABLE
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh/ssh-askpass\" -DHAVE_CONFIG_H -c loginrec.c
loginrec.c: In function `construct_utmp':
loginrec.c:619: structure has no member named `ut_user'
loginrec.c:619: structure has no member named `ut_user'
loginrec.c:619: structure has no member named `ut_user'
loginrec.c: In function `syslogin_perform_login':
loginrec.c:1256: warning: implicit declaration of func...
2012 Aug 16
9
[Bug 2034] New: make fails
...c.c
loginrec.c:633: warning: 'struct utmp' declared inside parameter list
loginrec.c:633: warning: its scope is only this definition or
declaration, which is probably not what you want
loginrec.c:645: warning: 'struct utmp' declared inside parameter list
loginrec.c: In function 'construct_utmp':
loginrec.c:651: error: dereferencing pointer to incomplete type
loginrec.c:676: warning: passing argument 2 of 'set_utmp_time' from
incompatible pointer type
loginrec.c:678: error: dereferencing pointer to incomplete type
loginrec.c:678: error: dereferencing pointer to incomplete type...