search for: have_syslen_in_utmpx

Displaying 8 results from an estimated 8 matches for "have_syslen_in_utmpx".

1999 Dec 27
1
More patches to fix NetBSD compiling
...g the lack of several fields in struct utmp. Here's another set of patches to fix NetBSD compiling (although they may also help some other UNIXes as well). Thanks, David --- configure.in.orig Mon Dec 27 09:09:05 1999 +++ configure.in Mon Dec 27 09:13:39 1999 @@ -264,6 +264,16 @@ [AC_DEFINE(HAVE_SYSLEN_IN_UTMPX) AC_MSG_RESULT(yes); ], [AC_MSG_RESULT(no)] ) +AC_MSG_CHECKING([whether utmp.h has ut_pid field]) +AC_EGREP_HEADER(ut_pid, utmp.h, + [AC_DEFINE(HAVE_PID_IN_UTMP) AC_MSG_RESULT(yes); ], + [AC_MSG_RESULT(no)] +) +AC_MSG_CHECKING([whether utmp.h has ut_type field]) +AC_EGREP_HEADER(ut_type, utmp...
2000 Jul 01
0
Problem with cleaning utmp entry
...px.h... no PPS. Part of config.h (after doing configure): /* struct utmp and struct utmpx fields */ #define HAVE_HOST_IN_UTMP 1 /* #undef HAVE_HOST_IN_UTMPX */ #define HAVE_ADDR_IN_UTMP 1 /* #undef HAVE_ADDR_IN_UTMPX */ /* #undef HAVE_ADDR_V6_IN_UTMP */ /* #undef HAVE_ADDR_V6_IN_UTMPX */ /* #undef HAVE_SYSLEN_IN_UTMPX */ #define HAVE_PID_IN_UTMP 1 #define HAVE_TYPE_IN_UTMP 1 /* #undef HAVE_TYPE_IN_UTMPX */ /* #undef HAVE_TV_IN_UTMP */ /* #undef HAVE_TV_IN_UTMPX */ #define HAVE_ID_IN_UTMP 1 /* #undef HAVE_EXIT_IN_UTMP */ #define HAVE_TIME_IN_UTMP 1 /* #undef HAVE_TIME_IN_UTMPX */
2002 Dec 29
0
[Bug 460] New: ut_addr_v6 not used
...>hostaddr.sa); + memcpy(ut->ut_addr_v6, sa6->sin6_addr.s6_addr, 16); + if (IN6_IS_ADDR_V4MAPPED(&sa6->sin6_addr)) { + ut->ut_addr_v6[0] = ut->ut_addr_v6[3]; + ut->ut_addr_v6[1] = 0; + ut->ut_addr_v6[2] = 0; + ut->ut_addr_v6[3] = 0; + } + } +# endif # ifdef HAVE_SYSLEN_IN_UTMPX /* ut_syslen is the length of the utx_host string */ utx->ut_syslen = MIN(strlen(li->hostname), sizeof(utx->ut_host)); diff -ruN t/openssh-3.5p1/session.c openssh-3.5p1/session.c --- t/openssh-3.5p1/session.c 2002-09-26 02:38:50.000000000 +0200 +++ openssh-3.5p1/session.c 2002-11-05 13...
2000 Feb 04
1
problems compiling 1.2.2 on HP-UX 10.20 (gcc)
The problem seems to be that if you #include <utmpx.h> without suitable -DPOSIX_SOMETHING magic, you get no struct utmpx (all that stuff is wrapped w/ "#ifdef _INCLUDE_XOPEN_SOURCE_EXTENDED"). I'm not sure how you all are handling such portability issues. Thx, Will ================== I configured with # ./configure --prefix=/.=our-deploy/openssh-1.2.2 --without-shadow
1999 Dec 24
5
ANNOUNCE: openssh-1.2.1pre20
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 openssh-1.2.1pre20 has been released at: http://violet.ibs.com.au/openssh/files/ This release integrates more of Andre Lucas' portability patch, Ben Taylor's utmpx patch and some cleanups and bugfixes of my own. The auth-passwd failures should be fixed, as should lastlog support on NetBSD. Since Andre Lucas' patch included platform
1999 Dec 24
5
ANNOUNCE: openssh-1.2.1pre20
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 openssh-1.2.1pre20 has been released at: http://violet.ibs.com.au/openssh/files/ This release integrates more of Andre Lucas' portability patch, Ben Taylor's utmpx patch and some cleanups and bugfixes of my own. The auth-passwd failures should be fixed, as should lastlog support on NetBSD. Since Andre Lucas' patch included platform
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...R "sshd" /* #undef MANTYPE */ #define HAVE_OPENSSL 1 /* #undef RSAREF */ #define HAVE_STRUCT_TIMEVAL 1 #define HAVE_HOST_IN_UTMP 1 #define HAVE_HOST_IN_UTMPX 1 #define HAVE_ADDR_IN_UTMP 1 #define HAVE_ADDR_IN_UTMPX 1 #define HAVE_ADDR_V6_IN_UTMP 1 #define HAVE_ADDR_V6_IN_UTMPX 1 /* #undef HAVE_SYSLEN_IN_UTMPX */ #define HAVE_PID_IN_UTMP 1 #define HAVE_TYPE_IN_UTMP 1 #define HAVE_TYPE_IN_UTMPX 1 #define HAVE_TV_IN_UTMP 1 #define HAVE_TV_IN_UTMPX 1 #define HAVE_ID_IN_UTMP 1 #define HAVE_ID_IN_UTMPX 1 #define HAVE_EXIT_IN_UTMP 1 /* #undef HAVE_TIME_IN_UTMP */ /* #undef HAVE_TIME_IN_UTMPX */ /* #undef DISAB...
2000 May 17
4
Openssh-2.1.0p1 test release
This to announce a test release of 2.1.0p1 before making it widely available. This release includes many fixes to problems reported over the last week. In particular: - spurious error and coredumps caused by the inbuilt entropy gathering - RSAref detection - Compilation fixes for Solaris and others It also contains (completely untested) support for compiling without RSA support. This may be