diff options
| author | Christian Brauner <brauner@kernel.org> | 2026-09-30 15:31:57 +0200 |
|---|---|---|
| committer | Christian Brauner <brauner@kernel.org> | 2026-10-01 14:20:05 +0200 |
| commit | 7c07b183000eb0ae21408581df88cffbcd38d8a0 (patch) | |
| tree | 940f53e1206e8ac60b18a76d675495736965b86e /tools/perf/scripts/python | |
| parent | c640a01a78e42302879006ed7b7d5a9a943ba815 (diff) | |
| download | linux-7c07b183000eb0ae21408581df88cffbcd38d8a0.tar.gz linux-7c07b183000eb0ae21408581df88cffbcd38d8a0.zip | |
selftests/filesystems: check that a recursive bind mount can't pin the caller's mount namespace
Add a test for a recursive bind mount of a namespace file in another mount
namespace:
- a bind mount of the network namespace file, held through a descriptor
- the caller's own mount namespace file stacked on top of it there
- the recursive bind mount through the descriptor fails with EINVAL
- a plain bind mount of the file still works
The copy would pin the namespace it is put in otherwise.
Link: https://patch.msgid.link/20260930-work-mount-fixes-3-v1-5-be34c83956ae@kernel.org
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
