diff options
author | Christian Brauner <brauner@kernel.org> | 2024-06-27 17:11:42 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-06-28 11:37:29 +0300 |
commit | 5b08bd408534bfb3a7cf5778da5b27d4e4fffe12 (patch) | |
tree | 3c53309a97af179f2c6371f0b63a48cb36f10aea /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 460695a294e63de4e4f30ad1679ffddeec932bb8 (diff) | |
download | linux-5b08bd408534bfb3a7cf5778da5b27d4e4fffe12.tar.xz |
pidfs: allow retrieval of namespace file descriptors
For users that hold a reference to a pidfd procfs might not even be
available nor is it desirable to parse through procfs just for the sake
of getting namespace file descriptors for a process.
Make it possible to directly retrieve namespace file descriptors from a
pidfd. Pidfds already can be used with setns() to change a set of
namespaces atomically.
Link: https://lore.kernel.org/r/20240627-work-pidfs-v1-4-7e9ab6cc3bb1@kernel.org
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.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