]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
leaking_addresses: skip '/proc/1/syscall'
authorTobin C. Harding <me@tobin.cc>
Tue, 27 Feb 2018 03:14:24 +0000 (14:14 +1100)
committerTobin C. Harding <me@tobin.cc>
Fri, 6 Apr 2018 22:50:34 +0000 (08:50 +1000)
commit2ad742939283ed0613be654ad0aaf29b797f9905
tree4e9ebb74240570ae6aa3b2aaaac30e9639b08a47
parent472c9e1085f20de71fc482500c8f1e4e45dff651
leaking_addresses: skip '/proc/1/syscall'

The pointers listed in /proc/1/syscall are user pointers, and negative
syscall args will show up like kernel addresses.

For example

/proc/31808/syscall: 0 0x3 0x55b107a38180 0x2000 0xffffffffffffffb0 \
0x55b107a302d0 0x55b107a38180 0x7fffa313b8e8 0x7ff098560d11

Skip parsing /proc/1/syscall

Suggested-by: Tycho Andersen <tycho@tycho.ws>
Signed-off-by: Tobin C. Harding <me@tobin.cc>
scripts/leaking_addresses.pl