diff options
| author | Alexey Dobriyan <adobriyan@gmail.com> | 2018-04-10 16:32:11 -0700 |
|---|---|---|
| committer | vantoman <mustafa.vantom@gmail.com> | 2021-04-10 13:15:23 +0200 |
| commit | 8c732c99583e031698658b05376af2f9899785b5 (patch) | |
| tree | 87d16e1e9d9394279b97b93d9397651f7da3b845 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 925e6c8791935ad51a849961b25b9cb20e5ad895 (diff) | |
proc: reject "." and ".." as filenames
Various subsystems can create files and directories in /proc with names
directly controlled by userspace.
Which means "/", "." and ".." are no-no.
"/" split is already taken care of, do the other 2 prohibited names.
Link: http://lkml.kernel.org/r/20180310001223.GB12443@avx2
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Acked-by: Florian Westphal <fw@strlen.de>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Pavel Machek <pavel@ucw.cz>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Danny Lin <danny@kdrag0n.dev>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions
