diff options
author | Will Deacon <will@kernel.org> | 2020-07-10 15:20:57 +0300 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-07-16 13:42:08 +0300 |
commit | d83ee6e3e75db6f518ef2b0858f163849f2ddeb7 (patch) | |
tree | fd08a028af7aae9121e697d1eae8bb401b4891eb /lib/mpi/mpi-bit.c | |
parent | 139dbe5d8ed383cbd1ada56c78dbbbd35bf6a9d3 (diff) | |
download | linux-d83ee6e3e75db6f518ef2b0858f163849f2ddeb7.tar.xz |
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 <mark.rutland@arm.com>
Cc: Keno Fischer <keno@juliacomputing.com>
Cc: Luis Machado <luis.machado@linaro.org>
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions