aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireguard/socket.c
diff options
context:
space:
mode:
authorH. Peter Anvin <[email protected]>2021-05-10 18:53:15 +0000
committerIngo Molnar <[email protected]>2021-05-12 08:49:15 +0000
commit9ddcb87b9218dec760e8d8a780bc8ad514c3d36a (patch)
treeae07eba26f7bdc1a6cf308b192200cae77b57bae /drivers/net/wireguard/socket.c
parentx86/entry: Split PUSH_AND_CLEAR_REGS into two submacros (diff)
downloadkernel-9ddcb87b9218dec760e8d8a780bc8ad514c3d36a.tar.gz
kernel-9ddcb87b9218dec760e8d8a780bc8ad514c3d36a.zip
x86/regs: Syscall_get_nr() returns -1 for a non-system call
syscall_get_nr() is defined to return -1 for a non-system call or a ptrace/seccomp restart; not just any arbitrary number. See comment in <asm-generic/syscall.h> for the official definition of this function. Signed-off-by: H. Peter Anvin <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/net/wireguard/socket.c')
0 files changed, 0 insertions, 0 deletions