• Will Deacon's avatar
    arm64: ptrace: Use NO_SYSCALL instead of -1 in syscall_trace_enter() · d83ee6e3
    Will Deacon authored
    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: default avatarWill Deacon <will@kernel.org>
    d83ee6e3
ptrace.c 47.4 KB