diff options
author | Tobin C. Harding <me@tobin.cc> | 2017-11-09 15:37:06 +1100 |
---|---|---|
committer | Tobin C. Harding <me@tobin.cc> | 2017-11-14 09:29:27 +1100 |
commit | dd98c252aea2a3dcd4014cb71bcdf9588519b800 (patch) | |
tree | 3e093f8ab931482bbc2b29130021e53604e61e68 /scripts/coccinelle/api | |
parent | 62139c1242b573cb647776e3abc503a69fbd2c08 (diff) |
leaking_addresses: add timeout on file read
Currently script can stall if we read certain files (like
/proc/kmsg). While we have a mechanism to skip these files once they are
discovered it would be nice to not stall on as yet undiscovered files of
this kind.
Set a timer before each file is parsed, warn user if timer expires.
Suggested-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Tobin C. Harding <me@tobin.cc>
Diffstat (limited to 'scripts/coccinelle/api')
0 files changed, 0 insertions, 0 deletions