[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    Re: [PATCH] bb_daemonize: add flag to double-fork and use in
From:       Denys Vlasenko <vda.linux () googlemail ! com>
Date:       2011-11-09 18:49:10
Message-ID: CAK1hOcMzTS2w5FRC1hd_eCygd4SRom5cMR63o9buNwe_AgAzCw () mail ! gmail ! com
[Download RAW message or body]

On Wed, Nov 9, 2011 at 4:48 PM, Peter Korsgaard <jacmet@sunsite.dk> wrote:
> Add a DAEMON_DOUBLE_FORK flag to make bb_daemonize double-fork so it isn't a
> session leader, and hence doesn't get a controlling tty on Linux if a tty is
> ever opened, similar to how libdaemon's daemon_fork or the big
> start-stop-daemon does it - And use it in start-stop-daemon.
>
> For details, see http://www.win.tue.nl/~aeb/linux/lk/lk-10.html#ss10.3
>
> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>

Applied, thanks.
-- 
vda
_______________________________________________
busybox mailing list
busybox@busybox.net
http://lists.busybox.net/mailman/listinfo/busybox
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic