aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorKees Cook <[email protected]>2012-11-15 22:12:17 +0100
committerRussell King <[email protected]>2012-11-19 14:14:18 +0000
commitad75b51459ae076a0d406391496f81b897bf6992 (patch)
treec34449b78cd833c2506237eb09d8cd291a2b63c3 /tools/perf/util/trace-event-scripting.c
parent9b790d71d58be65f9508ab60920eb978af828412 (diff)
ARM: 7579/1: arch/allow a scno of -1 to not cause a SIGILL
On tracehook-friendly platforms, a system call number of -1 falls through without running much code or taking much action. ARM is different. This adds a short-circuit check in the trace path to avoid any additional work, as suggested by Russell King, to make sure that ARM behaves the same way as other platforms. Signed-off-by: Kees Cook <[email protected]> Acked-by: Will Drewry <[email protected]> Reviewed-by: Will Deacon <[email protected]> Signed-off-by: Russell King <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions