diff options
author | Aleksa Sarai <cyphar@cyphar.com> | 2025-08-08 03:55:06 +1000 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2025-08-11 14:51:49 +0200 |
commit | 81e4b9cf365df4cde30157a85cc9f3d673946118 (patch) | |
tree | 755a3ce9768cde84023478b8434d3c3d8636f0bb /rust/helpers/pid_namespace.c | |
parent | 9308366f062129d52e0ee3f7a019f7dd41db33df (diff) |
selftests/mount_setattr: add smoke tests for open_tree_attr(2) bug
There appear to be no other open_tree_attr(2) tests at the moment, but
as a minimal solution just add some additional checks in the existing
MOUNT_ATTR_IDMAP tests to make sure that open_tree_attr(2) cannot be
used to bypass the tested restrictions that apply to mount_setattr(2).
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Link: https://lore.kernel.org/20250808-open_tree_attr-bugfix-idmap-v1-2-0ec7bc05646c@cyphar.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'rust/helpers/pid_namespace.c')
0 files changed, 0 insertions, 0 deletions