summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-02-26 14:50:10 +0100
committerChristian Brauner <brauner@kernel.org>2026-02-27 22:00:11 +0100
commitd2324a9317f00013facb0ba00b00440e19d2af5e (patch)
treef4be79d9f7824576062e4ecc512e0e96382cc849 /kernel
parente6b899f08066e744f89df16ceb782e06868bd148 (diff)
nsfs: tighten permission checks for handle opening
Even privileged services should not necessarily be able to see other privileged service's namespaces so they can't leak information to each other. Use may_see_all_namespaces() helper that centralizes this policy until the nstree adapts. Link: https://patch.msgid.link/20260226-work-visibility-fixes-v1-2-d2c2853313bd@kernel.org Fixes: 5222470b2fbb ("nsfs: support file handles") Reviewed-by: Jeff Layton <jlayton@kernel.org> Cc: stable@kernel.org # v6.18+ Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions