[PATCH 4/8] nsfs: add NS_USER_GET_INFO ioctl to inspect user namespace capabilities

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


> With the introduction of a capability bounding set for user namespaces,
> userspace needs a way to inspect the capability ceiling enforced on a
> given user namespace.
> 
> Introduce the NS_USER_GET_INFO ioctl on nsfs file descriptors to query
> user namespace metadata, mirroring the extensible structure pattern
> used by NS_MNT_GET_INFO.
> 
> 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=4




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