aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2020-07-16 13:53:46 +0200
committerRichard Weinberger <[email protected]>2020-07-24 23:03:11 +0200
commitf7e6b19bc76471ba03725fe58e0c218a3d6266c3 (patch)
tree7b99597d0d1f8e0a6eb9457076b2741a9f4fbbf1 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py
parentd15be546031cf65a0fc34879beca02fd90fe7ac7 (diff)
mtd: properly check all write ioctls for permissions
When doing a "write" ioctl call, properly check that we have permissions to do so before copying anything from userspace or anything else so we can "fail fast". This includes also covering the MEMWRITE ioctl which previously missed checking for this. Cc: Miquel Raynal <[email protected]> Cc: Richard Weinberger <[email protected]> Cc: Vignesh Raghavendra <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]> [rw: Fixed locking issue] Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions