News for hackers. Stuff that matters.
Re:The history of sending signals to Unix process groups by unnah on Tuesday September 06, 2022 @07:48AM (#32735786)
This won't solve your problem especially for library code, but prctl(2) with PR_SET_CHILD_SUBREAPER is worth mentioning: by setting the flag your process becomes a subreaper, and will become the parent of any orphaned child processes. Unlike cgroups, PR_SET_CHILD_SUBREAPER can be used without special privileges in commonly deployed Linux versions.

There are no comments on this comment yet.