selftests/filesystems: check that a copied mount namespace keeps unbindableMake a tmpfs unbindable, copy the mount namespace and check from thecopy that:- a bind of the mount fails with EINVAL
selftests/filesystems: check that a copied mount namespace keeps unbindableMake a tmpfs unbindable, copy the mount namespace and check from thecopy that:- a bind of the mount fails with EINVAL- a recursive bind fails as well- open_tree(OPEN_TREE_CLONE) of it fails- mountinfo still shows it as unbindable- a copy of the copy refuses the bind tooThe first case runs in the original namespace so the fixture stayshonest about what it set up.Link: https://patch.msgid.link/20260923-work-mount-fixes-v1-2-f424cf8d3242@kernel.orgSigned-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
show more ...