Thread (13 messages) 13 messages, 3 authors, 4d ago

Re: [RFC PATCH v2 5/6] kernel: add KAP checks for unshare and setns

flat view

From: sashiko-bot@kernel.org
Date: 2026-10-28 13:40:57

Check unshare and setns against the bound task's authority. Neither
has an LSM hook, so they call KAP directly. Every namespace type is
checked, and setns checks the type of the namespace it is given.

Unbound tasks are not checked.

Assisted-by: Claude
Co-developed-by: HARIHARA SUDHAN. R <redacted>
Signed-off-by: HARIHARA SUDHAN. R <redacted>
Assisted-by: Codex
Signed-off-by: Ketan Bhardwaj <redacted>
Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261028133335.75899-1-ketan@armoriq.io?part=5
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help