[PATCH v2] landlock: Clarify namespace and capability permission boundaries
sashiko-bot at kernel.org
sashiko-bot at kernel.org
Wed Dec 2 15:24:55 UTC 2026
> A report [1] interpreted opening a reference to an existing namespace as
> an operation covered by LANDLOCK_PERMISSION_NAMESPACE_USE. The current
> wording invites that reading, but a namespace reference identifies a
> target without authorizing reassociation or capability exercise.
>
> Distinguish namespace creation and reassociation from opening existing
> namespaces. Describe capability exercise as an independent check so
> readers can tell how the two permissions limit reachable kernel code.
>
> Cc: Günther Noack <gnoack at google.com>
> Cc: Shawn Shao <shawnq1 at 163.com>
> Link: https://patch.msgid.link/179566442733.1993761.8053687674090289362@163.com [1]
> Signed-off-by: Mickaël Salaün <mic at digikod.net>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/20261202152228.805597-1-mic@digikod.net?part=1
More information about the Linux-security-module-archive
mailing list