diff options
| author | Christian Brauner <[email protected]> | 2025-06-12 13:25:20 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2025-06-16 15:01:22 +0000 |
| commit | edfe3bdbbb52339cd8c2366402f2702c5ebc15c7 (patch) | |
| tree | 7685514eb02bb3693364fa138b540a903ad40860 /rust/helpers/helpers.c | |
| parent | fs: move name_contains_dotdot() to header (diff) | |
| download | kernel-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
