[PATCH 6/8] selftests/capabilities: tests for user namespace capability bounding set

sashiko-bot at kernel.org sashiko-bot at kernel.org
Thu Oct 29 22:18:29 UTC 2026


> Add tests in tools/testing/selftests/capabilities for the user
> namespace capability bounding set feature:
> 
> - Verify default full capabilities and sysctl capability restriction for
>   unprivileged user namespaces.
> - Verify that unprivileged creators retain their existing effective
>   capabilities despite the sysctl ceiling.
> - Verify that privileged creators bypass the sysctl ceiling.
> - Verify monotonic capability restriction across nested namespaces.
> - Verify parent-ownership capability bounding.
> 
> Signed-off-by: Hallgrimur H. Gunnarsson <halg at google.com>

Sashiko has reviewed this patch and found no issues.

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261028221705.3915340-1-halg@google.com?part=6




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