[RFC PATCH v3 06/13] rootns: Add rootns_kill() system call

sashiko-bot at kernel.org sashiko-bot at kernel.org
Thu Nov 19 19:36:54 UTC 2026


> Signaling every process inside a container from userspace via /proc is
> racy against concurrent fork() calls.
> 
> Add the rootns_kill() system call to require an ancestor active PID
> namespace, walk the root namespace's PID namespace IDR under
> tasklist_lock, and deliver a validated signal once to each thread group
> including in-flight forks, aggregating per-process delivery results.
> 
> Signed-off-by: Jarkko Sakkinen <jarkko at kernel.org>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261118193539.240065-1-jarkko@kernel.org?part=6




More information about the Linux-security-module-archive mailing list