|
@@ -198,3 +198,20 @@ Index: os.h
|
|
|
# define USE_SETEUID
|
|
# define USE_SETEUID
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
|
|
+Index: utmp.c
|
|
|
|
|
+--- utmp.c.orig 2003-09-08 16:27:17 +0200
|
|
|
|
|
++++ utmp.c 2006-01-11 16:53:48 +0100
|
|
|
|
|
+@@ -726,9 +726,12 @@
|
|
|
|
|
+ char *line, *user;
|
|
|
|
|
+ int pid;
|
|
|
|
|
+ {
|
|
|
|
|
++ time_t temp;
|
|
|
|
|
++
|
|
|
|
|
+ strncpy(u->ut_line, line, sizeof(u->ut_line));
|
|
|
|
|
+ strncpy(u->ut_name, user, sizeof(u->ut_name));
|
|
|
|
|
+- (void)time((time_t *)&u->ut_time);
|
|
|
|
|
++ (void)time(&temp);
|
|
|
|
|
++ u->ut_time = temp;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ static slot_t
|