diff options
author | 2024-06-24 11:49:49 -0400 | |
---|---|---|
committer | 2024-06-28 09:53:31 +0200 | |
commit | 71aacb4c8c3d19da053363a5fe7538a8af082d56 (patch) | |
tree | 2fe38d4370d8aeead6f7559abf8dd6703e7a423c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | fs: Allow listmount() in foreign mount namespace (diff) | |
download | wireguard-linux-71aacb4c8c3d19da053363a5fe7538a8af082d56.tar.xz wireguard-linux-71aacb4c8c3d19da053363a5fe7538a8af082d56.zip |
fs: Allow statmount() in foreign mount namespace
This patch makes use of the new mnt_ns_id field in struct mnt_id_req to
allow users to stat mount entries not in their mount namespace. The
rules are the same as listmount(), the user must have CAP_SYS_ADMIN in
their user namespace and the target mount namespace must be a child of
the current namespace.
Co-developed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Link: https://lore.kernel.org/r/52a2e17e50ba7aa420bc8bae1d9e88ff593395c1.1719243756.git.josef@toxicpanda.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions