Re: RFC: Enforcing process hierarchies (`prctl` related)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi........

On Fri, Aug 24, 2012 at 11:20 PM, Ciprian Dorin Craciun
<ciprian.craciun@xxxxxxxxx> 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

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux