Killing processes that don't want to die
Killing processes that don't want to die
Posted May 29, 2018 19:27 UTC (Tue) by ebiederm (subscriber, #35028)In reply to: Killing processes that don't want to die by hawski
Parent article: Killing processes that don't want to die
Posted May 29, 2018 19:31 UTC (Tue)
by hawski (guest, #121884)
[Link]
> killbelow() is most useful if a process calling it is a reaper for its descendant processes. Reaper status can be acquired by using procctl(2) with PROC_REAP_ACQUIRE or prctl(2) with PR_SET_CHILD_SUBREAPER.
But yes, with this it's quite close to just using namespaces.
Posted May 29, 2018 20:00 UTC (Tue)
by ay (guest, #79347)
[Link]
Killing processes that don't want to die
Killing processes that don't want to die