RE: https://mastodon.social/@brauner/116071424787849407
I took it one step further and implemented both CLONE_AUTOREAP (now for non-pidfd as well) and CLONE_PIDFD_AUTOKILL (requires no new privileges for the child now):
RE: https://mastodon.social/@brauner/116071424787849407
I took it one step further and implemented both CLONE_AUTOREAP (now for non-pidfd as well) and CLONE_PIDFD_AUTOKILL (requires no new privileges for the child now):
@brauner Any chance of having a transitive CLONE_PIDFD_AUTOKILL, so that not only does the child die, but so do all of its transitive descendents?
One can do this with cgroups, but itโs much more annoying and the cgroups themselves have to be cleaned up.