RFC: Enforcing process hierarchies (`prctl` related)
From: Mulyadi Santosa <hidden>
Date: 2012-08-25 17:48:50
From: Mulyadi Santosa <hidden>
Date: 2012-08-25 17:48:50
Hi........ On Fri, Aug 24, 2012 at 11:20 PM, Ciprian Dorin Craciun [off-list ref] 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