chiark / gitweb /
utmp: for DEAD_PROCESS write the current time to wtmp
authorMichal Schmidt <mschmidt@redhat.com>
Sun, 6 Nov 2011 22:55:06 +0000 (23:55 +0100)
committerMichal Schmidt <mschmidt@redhat.com>
Mon, 7 Nov 2011 00:10:35 +0000 (01:10 +0100)
commit4743137a4b7ce6214a06d02872bdfac080b6f131
tree8e854c1740522dfb32eda10a373732a025080612
parentfa4ad7ceca6c96d9f0b7022819acf8954cba35ea
utmp: for DEAD_PROCESS write the current time to wtmp

Zeroed .ut_tv values in wtmp confuse chkrootkit.

Reported and debugged by Norman Smith. This is based on his patch,
but modified to behave more like upstart did in F14 and cleaned up.

https://bugzilla.redhat.com/show_bug.cgi?id=743696
src/utmp-wtmp.c