• Linus Torvalds's avatar
    Sanitize kernel daemon signal handling and process naming. · 43fea1be
    Linus Torvalds authored
    Add a name argument to daemonize() (va_arg) to avoid all the
    kernel threads having to duplicate the name setting over and
    over again.
    
    Make daemonize() disable all signals by default, and add a
    "allow_signal()" function to let daemons say they explicitly
    want to support a signal.
    
    Make flush_signal() take the signal lock, so that callers do
    not need to.
    43fea1be
nfssvc.c 8.13 KB