aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/perf/arm-ccn.c
diff options
context:
space:
mode:
authorWill Deacon <[email protected]>2020-07-10 12:20:57 +0000
committerWill Deacon <[email protected]>2020-07-16 10:42:08 +0000
commitd83ee6e3e75db6f518ef2b0858f163849f2ddeb7 (patch)
treefd08a028af7aae9121e697d1eae8bb401b4891eb /drivers/perf/arm-ccn.c
parentarm64: syscall: Expand the comment about ptrace and syscall(-1) (diff)
downloadkernel-d83ee6e3e75db6f518ef2b0858f163849f2ddeb7.tar.gz
kernel-d83ee6e3e75db6f518ef2b0858f163849f2ddeb7.zip
arm64: ptrace: Use NO_SYSCALL instead of -1 in syscall_trace_enter()
Setting a system call number of -1 is special, as it indicates that the current system call should be skipped. Use NO_SYSCALL instead of -1 when checking for this scenario, which is different from the -1 returned due to a seccomp failure. Cc: Mark Rutland <[email protected]> Cc: Keno Fischer <[email protected]> Cc: Luis Machado <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/perf/arm-ccn.c')
0 files changed, 0 insertions, 0 deletions