mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-11-17 12:14:43 +00:00
leaking_addresses: add to exclude files/paths list
There are a couple more files that cause the script to stall. /sys/firmware/devicetree and its symlink /proc/device-tree, reported by Michael Ellerman. usbmon should be skipped were ever it appears. Reported by Kees Cook Add files to be excluded from parsing. Signed-off-by: Tobin C. Harding <me@tobin.cc>
This commit is contained in:
parent
a284733e26
commit
1c1e3be0bf
1 changed files with 3 additions and 0 deletions
|
|
@ -37,6 +37,8 @@ my @skip_parse_files_abs = ('/proc/kmsg',
|
||||||
'/proc/kcore',
|
'/proc/kcore',
|
||||||
'/proc/fs/ext4/sdb1/mb_groups',
|
'/proc/fs/ext4/sdb1/mb_groups',
|
||||||
'/proc/1/fd/3',
|
'/proc/1/fd/3',
|
||||||
|
'/sys/firmware/devicetree',
|
||||||
|
'/proc/device-tree',
|
||||||
'/sys/kernel/debug/tracing/trace_pipe',
|
'/sys/kernel/debug/tracing/trace_pipe',
|
||||||
'/sys/kernel/security/apparmor/revision');
|
'/sys/kernel/security/apparmor/revision');
|
||||||
|
|
||||||
|
|
@ -61,6 +63,7 @@ my @skip_walk_dirs_any = ('self',
|
||||||
'thread-self',
|
'thread-self',
|
||||||
'cwd',
|
'cwd',
|
||||||
'fd',
|
'fd',
|
||||||
|
'usbmon',
|
||||||
'stderr',
|
'stderr',
|
||||||
'stdin',
|
'stdin',
|
||||||
'stdout');
|
'stdout');
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue