Displaying 5 results from an estimated 5 matches for "set_utmpx_tim".
Did you mean:
set_utmpx_time
2001 Nov 20
0
PATCH: Fixing last/utmpx for Solaris
...Bill Knox
Senior Operating Systems Programmer/Analyst
The MITRE Corporation
-------------- next part --------------
--- loginrec.c~ Mon Oct 29 21:50:40 2001
+++ loginrec.c Mon Nov 19 12:08:34 2001
@@ -701,6 +701,7 @@
line_stripname(utx->ut_line, li->line, sizeof(utx->ut_line));
set_utmpx_time(li, utx);
utx->ut_pid = li->pid;
+ strncpy(utx->ut_name, li->username, MIN_SIZEOF(utx->ut_name, li->username));
if (li->type == LTYPE_LOGOUT)
return;
@@ -711,7 +712,6 @@
*/
/* strncpy(): Don't necessarily want null termination */
- strncpy(utx->ut_name,...
2002 Jan 29
0
[Bug 84] New: last command provides incorrect information on Solaris 8
...entry duplicates an
e-mail I sent in in late November, in case this comes up as a duplicate of a
known issue.
--- loginrec.c~ Mon Oct 29 21:50:40 2001
+++ loginrec.c Tue Jan 29 10:56:59 2002
@@ -701,6 +701,7 @@
line_stripname(utx->ut_line, li->line, sizeof(utx->ut_line));
set_utmpx_time(li, utx);
utx->ut_pid = li->pid;
+ strncpy(utx->ut_name, li->username, MIN_SIZEOF(utx->ut_name,
li->username));
if (li->type == LTYPE_LOGOUT)
return;
@@ -711,7 +712,6 @@
*/
/* strncpy(): Don't necessarily want null...
2001 Nov 15
1
Patch for "last" providing incorrect information on Solaris 8
...ll Knox
Senior Operating Systems Programmer/Analyst
The MITRE Corporation
-------------- next part --------------
--- loginrec.c.orig Thu Nov 15 09:35:02 2001
+++ loginrec.c Thu Nov 15 09:38:01 2001
@@ -701,6 +701,7 @@
line_stripname(utx->ut_line, li->line, sizeof(utx->ut_line));
set_utmpx_time(li, utx);
utx->ut_pid = li->pid;
+ strncpy(utx->ut_name, li->username, MIN_SIZEOF(utx->ut_name, li->username));
if (li->type == LTYPE_LOGOUT)
return;
@@ -711,7 +712,6 @@
*/
/* strncpy(): Don't necessarily want null termination */
- strncpy(utx->ut_name,...
2001 Jan 29
1
Solaris wtmpx patch
...in_alloc_entry(pid, user, NULL, ttyname);
login_logout(li);
login_free_entry(li);
}
diff -u -r openssh-2.3.0p1.orig/loginrec.c openssh-2.3.0p1/loginrec.c
--- openssh-2.3.0p1.orig/loginrec.c Sat Sep 30 03:34:44 2000
+++ openssh-2.3.0p1/loginrec.c Tue Jan 23 18:24:25 2001
@@ -674,6 +674,9 @@
set_utmpx_time(li, utx);
utx->ut_pid = li->pid;
+ /* strncpy(): Don't necessarily want null termination */
+ strncpy(utx->ut_name, li->username, MIN_SIZEOF(utx->ut_name, li->username));
+
if (li->type == LTYPE_LOGOUT)
return;
@@ -682,8 +685,6 @@
* for logouts.
*/
- /*...
2010 Feb 27
24
Call for testing: OpenSSH-5.4
Hi,
OpenSSH 5.4 is almost ready for release, so we would appreciate testing
on as many platforms and systems as possible. This is a big release,
with a number of major new features and many bug fixes.
Snapshot releases for portable OpenSSH are available from
http://www.mindrot.org/openssh_snap/
The OpenBSD version is available in CVS HEAD:
http://www.openbsd.org/anoncvs.html
Portable OpenSSH