diff options
| author | 2026-09-23 14:27:54 +0200 | |
|---|---|---|
| committer | 2026-09-25 17:20:32 +0200 | |
| commit | 0bab6b6d77607458a25710a42c42ae2343468d2c (patch) | |
| tree | c23ba3f6e959f51d27651584e6506ca95151ba0b /scripts/Makefile.thinlto | |
| parent | mount: keep a copied mount unbindable (diff) | |
selftests/filesystems: check that a copied mount namespace keeps unbindable
Make a tmpfs unbindable, copy the mount namespace and check from the
copy 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 too
The first case runs in the original namespace so the fixture stays
honest about what it set up.
Link: https://patch.msgid.link/20260923-work-mount-fixes-v1-2-f424cf8d3242@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
