diff options
| author | Tobin C. Harding <[email protected]> | 2017-11-09 04:37:06 +0000 |
|---|---|---|
| committer | Tobin C. Harding <[email protected]> | 2017-11-13 22:29:27 +0000 |
| commit | dd98c252aea2a3dcd4014cb71bcdf9588519b800 (patch) | |
| tree | 3e093f8ab931482bbc2b29130021e53604e61e68 /drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c | |
| parent | leaking_addresses: add support for ppc64 (diff) | |
| download | kernel-dd98c252aea2a3dcd4014cb71bcdf9588519b800.tar.gz kernel-dd98c252aea2a3dcd4014cb71bcdf9588519b800.zip | |
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 <[email protected]>
Signed-off-by: Tobin C. Harding <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c')
0 files changed, 0 insertions, 0 deletions
