aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorChristian Brauner <[email protected]>2025-06-12 13:25:20 +0000
committerChristian Brauner <[email protected]>2025-06-16 15:01:22 +0000
commitedfe3bdbbb52339cd8c2366402f2702c5ebc15c7 (patch)
tree7685514eb02bb3693364fa138b540a903ad40860 /rust/helpers/helpers.c
parentfs: move name_contains_dotdot() to header (diff)
downloadkernel-edfe3bdbbb52339cd8c2366402f2702c5ebc15c7.tar.gz
kernel-edfe3bdbbb52339cd8c2366402f2702c5ebc15c7.zip
coredump: don't allow ".." in coredump socket path
There's no point in allowing to walk upwards for the coredump socket. We already force userspace to give use a sane path, no symlinks, no magiclinks, and also block "..". Use an absolute path without any shenanigans. Link: https://lore.kernel.org/[email protected] Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions