summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/proc/.gitignore
diff options
context:
space:
mode:
authorAlexey Dobriyan2018-04-11 01:41:14 +0200
committerLinus Torvalds2018-04-11 19:28:34 +0200
commit35318db566e18ee3ada7e2d62192e5e87b1b5e4b (patch)
treed65fb30bb95ccd7c089cebe5ae1d16fde7ba48be /tools/testing/selftests/proc/.gitignore
parentproc: move "struct proc_dir_entry" into kmem cache (diff)
downloadkernel-qcow2-linux-35318db566e18ee3ada7e2d62192e5e87b1b5e4b.tar.gz
kernel-qcow2-linux-35318db566e18ee3ada7e2d62192e5e87b1b5e4b.tar.xz
kernel-qcow2-linux-35318db566e18ee3ada7e2d62192e5e87b1b5e4b.zip
proc: fix /proc/*/map_files lookup some more
I totally forgot that _parse_integer() accepts arbitrary amount of leading zeroes leading to the following lookups: OK # readlink /proc/1/map_files/56427ecba000-56427eddc000 /lib/systemd/systemd bogus # readlink /proc/1/map_files/00000000000056427ecba000-56427eddc000 /lib/systemd/systemd # readlink /proc/1/map_files/56427ecba000-00000000000056427eddc000 /lib/systemd/systemd Link: http://lkml.kernel.org/r/20180303215130.GA23480@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Reviewed-by: Cyrill Gorcunov <gorcunov@gmail.com> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Cc: Pavel Emelyanov <xemul@virtuozzo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/testing/selftests/proc/.gitignore')
-rw-r--r--tools/testing/selftests/proc/.gitignore4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/testing/selftests/proc/.gitignore b/tools/testing/selftests/proc/.gitignore
index c648b27af2e7..e3ceb19ae99a 100644
--- a/tools/testing/selftests/proc/.gitignore
+++ b/tools/testing/selftests/proc/.gitignore
@@ -1,2 +1,4 @@
-/proc-self-mem
+/proc-self-map-files-001
+/proc-self-map-files-002
/proc-self-syscall
+/proc-self-wchan