DragonFly-2.3.0.628.ga9ba5 master lib/libc/gen daemon.3 daemon.c
Peter Avalos
pavalos at crater.dragonflybsd.org
Tue Apr 7 00:13:40 PDT 2009
commit a9ba5f709d6ef2f129b3ffe05ca03d4edef9a31c
Author: Peter Avalos <pavalos at theshell.com>
Date: Fri Feb 13 17:37:49 2009 -0500
Sync daemon(3) with FreeBSD:
* Prevent abnormal termination of a child daemon process when created
by a parent that is a session leader (e.g., login shell) by ignoring
SIGHUP in before calling fork(2) and then restoring SIGHUP's action
after setsid(3).
* Merge some updates and markup fixes from OpenBSD for the manual page.
Summary of changes:
lib/libc/gen/daemon.3 | 55 ++++++++++++++++++++++++++++++++++++++----------
lib/libc/gen/daemon.c | 30 +++++++++++++++++++-------
2 files changed, 65 insertions(+), 20 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a9ba5f709d6ef2f129b3ffe05ca03d4edef9a31c
--
DragonFly BSD source repository
More information about the Commits
mailing list