aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2017-02-13 19:25:26 +0000
committerKees Cook <[email protected]>2017-02-17 00:34:59 +0000
commitf5f893c57e37ca730808cb2eee3820abd05e7507 (patch)
tree64e6e91e1728dc333ea1a267c31f8076d95bb0ef /tools/perf/util/scripting-engines/trace-event-perl.c
parentusercopy: add testcases to check zeroing on failure (diff)
downloadkernel-f5f893c57e37ca730808cb2eee3820abd05e7507.tar.gz
kernel-f5f893c57e37ca730808cb2eee3820abd05e7507.zip
usercopy: Adjust tests to deal with SMAP/PAN
Under SMAP/PAN/etc, we cannot write directly to userspace memory, so this rearranges the test bytes to get written through copy_to_user(). Additionally drops the bad copy_from_user() test that would trigger a memcpy() against userspace on failure. Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions