summaryrefslogtreecommitdiffstats
path: root/scripts/leaking_addresses.pl
diff options
context:
space:
mode:
authorTobin C. Harding <me@tobin.cc>2017-11-13 23:25:11 +0100
committerTobin C. Harding <me@tobin.cc>2017-11-13 23:29:27 +0100
commita11949ec20635b43d82ee229315fd2e3c80c22a3 (patch)
tree6c17a4be13441e321942f7f19043b74330306622 /scripts/leaking_addresses.pl
parentleaking_addresses: add timeout on file read (diff)
downloadlinux-a11949ec20635b43d82ee229315fd2e3c80c22a3.tar.xz
linux-a11949ec20635b43d82ee229315fd2e3c80c22a3.zip
leaking_addresses: add SigIgn to false positives
Signal masks are false positives, we already check for SigBlk and SigCgt but we missed SigIgn. Add SigIgn to false positive check. Signed-off-by: Tobin C. Harding <me@tobin.cc>
Diffstat (limited to 'scripts/leaking_addresses.pl')
-rwxr-xr-xscripts/leaking_addresses.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/leaking_addresses.pl b/scripts/leaking_addresses.pl
index 6efd1fdb7d25..bc5788000018 100755
--- a/scripts/leaking_addresses.pl
+++ b/scripts/leaking_addresses.pl
@@ -228,6 +228,7 @@ sub may_leak_address
# Signal masks.
if ($line =~ '^SigBlk:' or
+ $line =~ '^SigIgn:' or
$line =~ '^SigCgt:') {
return 0;
}