Displaying 7 results from an estimated 7 matches for "have_id_in_utmpx".
Did you mean:
have_id_in_utmp
2012 Aug 16
9
[Bug 2034] New: make fails
https://bugzilla.mindrot.org/show_bug.cgi?id=2034
Priority: P5
Bug ID: 2034
Assignee: unassigned-bugs at mindrot.org
Summary: make fails
Severity: critical
Classification: Unclassified
OS: FreeBSD
Reporter: kris.universe at gmail.com
Hardware: amd64
Status: NEW
Version: 6.0p1
2001 Nov 20
0
PATCH: Fixing last/utmpx for Solaris
...gt;hostname, MIN_SIZEOF(utx->ut_host, li->hostname));
# endif
@@ -942,9 +942,7 @@
{
struct utmpx utx;
- memset(&utx, '\0', sizeof(utx));
- set_utmpx_time(li, &utx);
- line_stripname(utx.ut_line, li->line, sizeof(utx.ut_line));
+ construct_utmpx(li, &utx);
# ifdef HAVE_ID_IN_UTMPX
line_abbrevname(utx.ut_id, li->line, sizeof(utx.ut_id));
# endif
--- session.c~ Tue Nov 13 07:46:19 2001
+++ session.c Mon Nov 19 12:08:34 2001
@@ -1863,7 +1863,7 @@
/* Record that the user has logged out. */
if (s->pid != 0)
- record_logout(s->pid, s->tty);
+ record_logout(s...
2002 Jan 29
0
[Bug 84] New: last command provides incorrect information on Solaris 8
...t;ut_host,
li->hostname));
# endif
@@ -942,9 +942,7 @@
{
struct utmpx utx;
- memset(&utx, '\0', sizeof(utx));
- set_utmpx_time(li, &utx);
- line_stripname(utx.ut_line, li->line, sizeof(utx.ut_line));
+ construct_utmpx(li, &utx);
# ifdef HAVE_ID_IN_UTMPX
line_abbrevname(utx.ut_id, li->line, sizeof(utx.ut_id));
# endif
--- session.c~ Sat Dec 1 18:37:08 2001
+++ session.c Tue Jan 29 10:56:59 2002
@@ -1866,7 +1866,7 @@
/* Record that the user has logged out. */
if (s->pid != 0)
- record_logout(s->p...
2002 Dec 29
0
[Bug 460] New: ut_addr_v6 not used
...gt;ut_addr_v6[3] = 0;
+ }
+ }
+# endif
}
#endif /* USE_UTMP || USE_WTMP || USE_LOGIN */
@@ -689,6 +705,9 @@
void
construct_utmpx(struct logininfo *li, struct utmpx *utx)
{
+# ifdef HAVE_ADDR_V6_IN_UTMP
+ struct sockaddr_in6 *sa6;
+# endif
memset(utx, '\0', sizeof(*utx));
# ifdef HAVE_ID_IN_UTMPX
line_abbrevname(utx->ut_id, li->line, sizeof(utx->ut_id));
@@ -725,6 +744,19 @@
if (li->hostaddr.sa.sa_family == AF_INET)
utx->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr;
# endif
+# ifdef HAVE_ADDR_V6_IN_UTMP
+ /* this is just a 128-bit IPv6 address */
+ if (li->hosta...
2001 Nov 15
1
Patch for "last" providing incorrect information on Solaris 8
...gt;hostname, MIN_SIZEOF(utx->ut_host, li->hostname));
# endif
@@ -942,9 +942,7 @@
{
struct utmpx utx;
- memset(&utx, '\0', sizeof(utx));
- set_utmpx_time(li, &utx);
- line_stripname(utx.ut_line, li->line, sizeof(utx.ut_line));
+ construct_utmpx(li, &utx);
# ifdef HAVE_ID_IN_UTMPX
line_abbrevname(utx.ut_id, li->line, sizeof(utx.ut_id));
# endif
--- session.c.orig Thu Nov 15 09:35:02 2001
+++ session.c Thu Nov 15 09:38:01 2001
@@ -1856,7 +1856,7 @@
/* Record that the user has logged out. */
if (s->pid != 0)
- record_logout(s->pid, s->tty);
+ record_log...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...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 DISABLE_LOGIN */
/* #undef DISABLE_PUTUTLINE */
/* #undef DISABLE_PUTUTXLINE */
/* #undef DISABLE_LASTLOG */
/* #undef NO_SSH_LASTLOG */
/* #undef DISABLE_UTMP */
#define DISABLE_UTMPX 1
/* #undef...
2006 Apr 11
0
Problem building openssh-4.3p2 under cygwin and windows XP
...ne HAVE_GETUTENT 1
#define HAVE_GETUTID 1
#define HAVE_GETUTLINE 1
#define HAVE_GETUTXENT 1
#define HAVE_GETUTXID 1
#define HAVE_GETUTXLINE 1
#define HAVE_GLOB 1
#define HAVE_GLOB_H 1
#define HAVE_HEADER_AD 1
#define HAVE_HOST_IN_UTMP 1
#define HAVE_HOST_IN_UTMPX 1
#define HAVE_ID_IN_UTMP 1
#define HAVE_ID_IN_UTMPX 1
#define HAVE_INET_ATON 1
#define HAVE_INET_NTOA 1
#define HAVE_INET_NTOP 1
#define HAVE_INT64_T 1
#define HAVE_INTXX_T 1
#define HAVE_IN_ADDR_T 1
#define HAVE_LASTLOG_H 1
#define HAVE_LIBGEN_H 1
#define HAVE_LIBZ 1
#define HAVE_LIMITS_H 1
#define HAVE_LOGIN 1
#define HAVE_LOGOUT 1
#define HAVE_LO...