Files
openwrt/target/linux/generic
Daniel Golle 8b7604f90a generic: backport cgroup CLONE_INTO_CGROUP SIGKILL fix
Since b69bb476dee9 ("cgroup: fix race between fork and cgroup.kill") the
fork path snapshots kill_seq in cgroup_css_set_fork() before the
CLONE_INTO_CGROUP target has been resolved, so it always records the
forking task's own cgroup while cgroup_post_fork() reads the target's
and compares the two. Once cgroup.kill has been written to a cgroup,
every child later cloned out of it into another cgroup is SIGKILLed
before it runs a single instruction, for as long as that cgroup exists.

This breaks re-creating an OCI container under procd, whose service
supervisor kills the instance cgroup on exit and leaves it in place: the
container init ujail clones with CLONE_INTO_CGROUP is killed at birth and
the create fails with no diagnostic. The fix is in mainline from v7.3-rc2
and carries Cc: stable, so it is expected to reach 6.18.y with a future
stable release, at which point this patch can be dropped.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2026-09-24 14:41:00 +01:00
..
2025-05-20 00:47:37 +02:00
2026-08-13 00:22:32 +02:00
2026-09-17 11:15:04 +02:00
2026-09-05 21:50:32 +02:00
2026-09-16 11:43:34 +02:00