aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorFabian Frederick <[email protected]>2020-05-12 20:19:21 +0200
committerJan Kara <[email protected]>2020-05-13 17:16:57 +0200
commit5e23663b49e1e8ee6b805356259e3062edac5e2b (patch)
tree8ef30910ee1066193afa821953930f1e79e1b6fb /tools/perf/scripts/python/export-to-sqlite.py
parent5a449099b9d5b0a1ac23c1cdbda4bfbaf4b27076 (diff)
fanotify: don't write with size under sizeof(response)
fanotify_write() only aligned copy_from_user size to sizeof(response) for higher values. This patch avoids all values below as suggested by Amir Goldstein and set to response size unconditionally. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Fabian Frederick <[email protected]> Reviewed-by: Amir Goldstein <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions