aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorArnd Bergmann <[email protected]>2020-10-30 17:44:21 +0100
committerMartin K. Petersen <[email protected]>2020-11-04 21:56:17 -0500
commitbba84aeccafb57f3f175bbab0658a7facd611d18 (patch)
tree2098b42207d478584b8b17d04fe2f87c6fe592ab /tools/perf/scripts/python/exported-sql-viewer.py
parent381d34e376e3d9d27730fda8a0e870600e6c8196 (diff)
scsi: megaraid_sas: Simplify compat_ioctl handling
There have been several attempts to fix serious problems in the compat handling in megasas_mgmt_compat_ioctl_fw(), and it also uses the compat_alloc_user_space() function. Folding the compat handling into the regular ioctl function with in_compat_syscall() simplifies it a lot and avoids some of the remaining problems: - missing handling of unaligned pointers - overflowing the ioc->frame.raw array from invalid input - compat_alloc_user_space() Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions