H. Peter Anvin 9ddcb87b92 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 <hpa@zytor.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20210510185316.3307264-7-hpa@zytor.com
2021-05-12 10:49:15 +02:00
..
2021-03-18 15:31:53 +01:00
2020-11-24 16:47:49 +01:00
2021-04-28 15:50:24 -07:00
2021-04-26 15:10:25 -07:00
2021-03-15 16:24:59 +01:00
2021-03-18 15:31:53 +01:00
2021-03-18 15:31:53 +01:00
2021-03-18 15:31:53 +01:00
2021-03-15 16:24:59 +01:00
2021-03-18 15:31:53 +01:00
2021-05-01 10:14:08 -07:00
2021-03-18 15:31:53 +01:00
2021-02-21 13:31:43 -08:00
2020-08-20 13:12:58 +02:00
2021-03-18 15:31:53 +01:00
2020-06-11 15:54:31 -07:00
2020-07-27 14:31:07 -04:00
2021-03-18 15:31:53 +01:00
2020-08-04 14:47:45 -07:00