diff options
author | Christian Brauner <brauner@kernel.org> | 2024-08-06 19:02:31 +0300 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-08-30 09:22:13 +0300 |
commit | 74ce208089f468db26eddcc5ea58e50f5bbbc291 (patch) | |
tree | 19f40cdf73b8899bff2257bae2698304cc90460e /rust/helpers/helpers.c | |
parent | 3836b31c3e717fcaa2b63c69e4bcf8ff7b82e6e4 (diff) | |
download | linux-74ce208089f468db26eddcc5ea58e50f5bbbc291.tar.xz |
proc: block mounting on top of /proc/<pid>/fd/*
Entries under /proc/<pid>/fd/* are ephemeral and may go away before the
process dies. As such allowing them to be used as mount points creates
the ability to leak mounts that linger until the process dies with no
ability to unmount them until then. Don't allow using them as
mountpoints.
Link: https://lore.kernel.org/r/20240806-work-procfs-v1-5-fb04e1d09f0c@kernel.org
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions