hc
2024-05-14 bedbef8ad3e75a304af6361af235302bcc61d06b
kernel/arch/nios2/include/asm/ptrace.h
....@@ -74,6 +74,8 @@
7474 ((struct pt_regs *)((unsigned long)current_thread_info() + THREAD_SIZE)\
7575 - 1)
7676
77
+#define force_successful_syscall_return() (current_pt_regs()->orig_r2 = -1)
78
+
7779 int do_syscall_trace_enter(void);
7880 void do_syscall_trace_exit(void);
7981 #endif /* __ASSEMBLY__ */