Re: [gentoo-portage-dev] [PATCH] pid-sandbox: execute pid-ns-init as pid 1 (bug 675312)

2019-01-14 Thread Zac Medico
On 1/13/19 8:57 PM, Brian Dolbec wrote: > On Sun, 13 Jan 2019 16:27:21 -0800 > Zac Medico wrote: > >> Execute pid-ns-init as the first fork after unshare, as >> required for it to have pid 1 and become the default reaper >> of orphaned descendant processes. In _exec, exec a separate >> pid-ns-ini

Re: [gentoo-portage-dev] [PATCH] pid-sandbox: execute pid-ns-init as pid 1 (bug 675312)

2019-01-13 Thread Brian Dolbec
On Sun, 13 Jan 2019 16:27:21 -0800 Zac Medico wrote: > Execute pid-ns-init as the first fork after unshare, as > required for it to have pid 1 and become the default reaper > of orphaned descendant processes. In _exec, exec a separate > pid-ns-init process to behave as a supervisor which will > f

[gentoo-portage-dev] [PATCH] pid-sandbox: execute pid-ns-init as pid 1 (bug 675312)

2019-01-13 Thread Zac Medico
Execute pid-ns-init as the first fork after unshare, as required for it to have pid 1 and become the default reaper of orphaned descendant processes. In _exec, exec a separate pid-ns-init process to behave as a supervisor which will forward signals to init and forward exit status to the parent proc