DragonFly commits List (threaded) for 2009-04
DragonFly BSD
DragonFly commits List (threaded) for 2009-04
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

DragonFly-2.3.0.628.ga9ba5 master lib/libc/gen daemon.3 daemon.c


From: Peter Avalos <pavalos@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 7 Apr 2009 00:12:42 -0700 (PDT)

commit a9ba5f709d6ef2f129b3ffe05ca03d4edef9a31c
Author: Peter Avalos <pavalos@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]