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

From
sashiko-bot@kernel.org
Date
2026-11-19 19:36:54
Reply to
Jarkko Sakkinen, 2026-11-18
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@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
Thread (33 messages) 33 messages, 3 authors, last reply 1d ago
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help