mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
The function tracehook_report_syscall_entry's return value is __must_check attribute. We should add return processing flow in ptrace.c and set the syscall number to -1 when failed just like riscv's. Signed-off-by: Guo Ren <[email protected]> Cc: Arnd Bergmann <[email protected]>