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

List:       freedesktop-xorg
Subject:    Re: SIGUSR1 to xinit
From:       Kalev Soikonen <ksop () hot ! ee>
Date:       2013-10-28 12:28:45
Message-ID: 20131028122844.GA14474 () KLF ! private
[Download RAW message or body]

On Sun, Oct 27, 2013 at 10:10:35AM -0700, Alan Coopersmith wrote:
> Is there any way to tell when a new PID namespace is in use?  Because
> if someone started the X server from inittab, killing init would be bad.

SIGUSR1 to init ought to be harmless. In any case, RunFromSmartParent won't
be true when launched from system init since init does not start a process
with ignored SIGUSR1, and this is what X detects.

K.
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: freedesktop-xorg@progressive-comp.com
[prev in list] [next in list] [prev in thread] [next in thread] 

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