diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-09-30 15:31:59 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-10-01 14:20:05 +0200 |
| commit | fe187cbb48323aecb6fe58906341bc6478b6f2f0 (patch) | |
| tree | 3d512c004bb6f3367fd41bdda87a2a1479b8f9d6 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 0febe278ec45b1ccdbe9bd5ff1ba365d8fd55e2a (diff) | |
| download | linux-fe187cbb48323aecb6fe58906341bc6478b6f2f0.tar.gz linux-fe187cbb48323aecb6fe58906341bc6478b6f2f0.zip | |
selftests/filesystems: check that OPEN_TREE_NAMESPACE keeps mounts covered
Add a test for open_tree(OPEN_TREE_NAMESPACE) from a user namespace that
doesn't own the mount namespace it copies from:
- a file covered by a private or an unbindable tmpfs mount
- the non-recursive copy of the parent mount fails with EINVAL
- the recursive copy keeps the file covered in the new mount namespace
- the owner of the mount namespace keeps the bind mount semantics
Link: https://patch.msgid.link/20260930-work-mount-fixes-3-v1-7-be34c83956ae@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
