summaryrefslogtreecommitdiff
path: root/src/utmp-wtmp.c
AgeCommit message (Collapse)Author
2011-11-07utmp: for DEAD_PROCESS write the current time to wtmpMichal Schmidt
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
2011-11-07utmp: initialize store with the found entry, not with the lookup keyMichal Schmidt
2011-11-07utmp: no need to zero a struct before overwriting it with memcpyMichal Schmidt
2011-11-07utmp: remove unneded parametersMichal Schmidt
With these functions no caller ever passes anything else than 0 for 't' (meaning the current time will be used).
2011-02-17util: beef up logic to find ctty nameLennart Poettering
2010-11-12ask-password: don't show wall message on ttys we are already running a tty ↵Lennart Poettering
agent on
2010-10-08service: optionally, create INIT_PROCESS/DEAD_PROCESS entries for a serviceLennart Poettering
This should fix accounting for pam_limits and suchlike. https://bugzilla.redhat.com/show_bug.cgi?id=636036
2010-08-16util: use format_timestamp() instead of ctime() wherever possibleLennart Poettering
2010-08-14emacs: make sure nobody accidently adds tabs to our sourcesLennart Poettering
2010-08-11audit,utmp: implement audit logic and rip utmp stuff out of the main daemon ↵Lennart Poettering
and into a helper binary
2010-06-21pam: implement systemd PAM module and generelize cgroup API for that a bitLennart Poettering
2010-06-18utmp: properly initialize local variablesLennart Poettering
2010-06-18systemctl: warn users via wall that the system goes downLennart Poettering
2010-05-24timer: fully implement timer unitsLennart Poettering
2010-05-16build-sys: move source files to subdirectoryLennart Poettering