Re: Documentation for CLONE_NEWPID

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Serge E. Hallyn
Date: Sunday, November 23, 2008 - 3:20 pm

Quoting Michael Kerrisk (mtk.manpages@googlemail.com):


Thanks, Michael, this is something we've definately been wanting to
get to.

...


The processes in that namespace are visible, but by different
pids.  So saying that the pids are visible in the parent
pidns isn't quite right.


Again, the processes, not pids, are visible.


Probably not worth mentioning here, but if it has done
CLONE_NEWNS then it doesn't need to change its root, it
can just mount a new proc instance over /proc.


I assume you've considered the pros and cons of mentioning
signal semantics with respect to init tasks of child pid namespaces,
and decided it's not worth mentioning yet as the semantics are not
yet finalized?

The goal is to treat the process as a system-wide init with respect
to signals coming from its own namespace, and treat it as an ordinary
task for signals coming from its ancestor namespaces.  But as you've
probably read, the implementation may result in some unfortunate
side-effects regarding blocked signals etc.

thanks,
-serge
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Documentation for CLONE_NEWPID, Michael Kerrisk, (Tue Nov 18, 7:59 pm)
Re: Documentation for CLONE_NEWPID, Serge E. Hallyn, (Sun Nov 23, 3:20 pm)
Re: Documentation for CLONE_NEWPID, Pavel Emelyanov, (Mon Nov 24, 5:46 am)
Re: Documentation for CLONE_NEWPID, Michael Kerrisk, (Tue Nov 25, 8:09 am)
Re: Documentation for CLONE_NEWPID, Michael Kerrisk, (Tue Nov 25, 8:46 am)
Re: Documentation for CLONE_NEWPID, Pavel Emelyanov, (Tue Nov 25, 8:54 am)
Re: Documentation for CLONE_NEWPID, Michael Kerrisk, (Tue Nov 25, 9:27 am)
Re: Documentation for CLONE_NEWPID, Serge E. Hallyn, (Wed Nov 26, 10:08 am)