Elektrine lite

← Feed

@brauner@mastodon.social

Post #574093

2026-02-23 13:13 UTC

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): https://patch.msgid.link/20260223-work-pidfs-autoreap-v4-0-e393c08c09d1@kernel.org

Replies (1)

  • @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.

    Open ##1499155