Re:Tokio and Prctl = Nasty Bug
by badmintonbaseba on Monday February 24, 2025 @05:04AM
(#43157766)
Presumably the author would like something that's handled by the kernel and not user space, so even a SIGKILL-ed parent process would trigger the reaping of the children.
[ Parent
| on HN ]
Re:Tokio and Prctl = Nasty Bug
by fc417fc802 on Monday February 24, 2025 @05:17AM
(#43157865)
That would be a pid namespace but was passed over for compatibility reasons I guess.
Addressing a SIGKILL'd parent specifically, what about daemonizing the cleanup process but instead of fork use clone with the CLONE_VM flag?