RFC: Enforcing process hierarchies (`prctl` related)

Mulyadi Santosa mulyadi.santosa at gmail.com
Sat Aug 25 13:48:50 EDT 2012


Hi........

On Fri, Aug 24, 2012 at 11:20 PM, Ciprian Dorin Craciun
<ciprian.craciun at gmail.com> wrote:
>     (d) (last resort solution we have today) iterate through
> `/proc/$PID` and find all the controller children, SIGKILL them, and
> continue until no process is found, then die; but it doesn't solve
> (C)...

IMHO this is the way to do it....but, to tackle C, maybe a signal
handler to SIGTERM could do it. But wait, I forget whether SIGTERM
could be intercepted.....




-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com



More information about the Kernelnewbies mailing list