aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c
diff options
context:
space:
mode:
authorTobin C. Harding <[email protected]>2017-11-09 04:37:06 +0000
committerTobin C. Harding <[email protected]>2017-11-13 22:29:27 +0000
commitdd98c252aea2a3dcd4014cb71bcdf9588519b800 (patch)
tree3e093f8ab931482bbc2b29130021e53604e61e68 /drivers/gpu/drm/amd/amdgpu/amdgpu_trace_points.c
parentleaking_addresses: add support for ppc64 (diff)
downloadkernel-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