summaryrefslogtreecommitdiff
path: root/lib/util/system.c
AgeCommit message (Collapse)AuthorFilesLines
2009-02-23Refactored sys_fork() and sys_pid() into shared util librarySteven Danneman1-0/+29
This fixes a bug in 116ce19b, where we didn't clear the pid cache in become_daemon() and thus the /var/run/smbd.pid didn't match the actual pid of the parent process. Currently S4 will clear the pid cache on fork but doesn't yet take advantage of the pid cache by using sys_pid() instead of the direct get_pid().
2008-10-11Move lib/util from source4 to top-level libutil.Jelmer Vernooij1-0/+90
Conflicts: source4/Makefile