aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2017-09-15 12:05:16 +0000
committerMartin K. Petersen <[email protected]>2017-09-15 19:16:49 +0000
commit3e0097499839e0fe3af380410eababe5a47c4cf9 (patch)
tree6832509ca4b548ac72e54b000c58b00847dbb835 /tools/perf/scripts/python/syscall-counts.py
parentscsi: sg: factor out sg_fill_request_table() (diff)
downloadkernel-3e0097499839e0fe3af380410eababe5a47c4cf9.tar.gz
kernel-3e0097499839e0fe3af380410eababe5a47c4cf9.zip
scsi: sg: fixup infoleak when using SG_GET_REQUEST_TABLE
When calling SG_GET_REQUEST_TABLE ioctl only a half-filled table is returned; the remaining part will then contain stale kernel memory information. This patch zeroes out the entire table to avoid this issue. Signed-off-by: Hannes Reinecke <[email protected]> Reviewed-by: Bart Van Assche <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Eric Dumazet <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions