summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorChristian Brauner <brauner@kernel.org>2026-10-14 21:45:14 +0200
committerChristian Brauner <brauner@kernel.org>2026-10-14 22:08:06 +0200
commiteadfe727dd800fc5fca33e45dbfd392ade5bbbd6 (patch)
tree44b455a2c07aa18e9ead6d54d95f71f0dc64c9d2 /scripts/basic
parent69fbe94f80bc423613fa18dae6656757423732a2 (diff)
downloadlinux-eadfe727dd800fc5fca33e45dbfd392ade5bbbd6.tar.gz
linux-eadfe727dd800fc5fca33e45dbfd392ade5bbbd6.zip
selftests/filesystems: test that a mntns file can't take over a lock
Add a case to the locked mount test: - a bind of the mount namespace file of a grandchild moved beneath a locked cover must fail with EINVAL - a bind of an ordinary file beneath it takes the lock over, the old cover can go and the new one can't - the file is still covered after unshare(CLONE_NEWNS) Link: https://patch.msgid.link/20261014-work-namei-locked-mnt_ns_file-v1-2-24035bd5d8e9@kernel.org Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions