Detect when a new orphan process is reparented to the current process on Linux

42 Views Asked by At

On Linux you can set PR_SET_CHILD_SUBREAPER so that when descendent processes are orphaned they get reparented to the current process.

But other than polling, how do I know when that happens? Is a signal sent?

0

There are 0 best solutions below