···654654 */655655asmlinkage void syscall_trace_enter(struct pt_regs *regs)656656{657657+ long ret = 0;657658 user_exit();658659659660 /* do the secure computing check first */660661 secure_computing_strict(regs->regs[2]);661662662662- if (test_thread_flag(TIF_SYSCALL_TRACE))663663- ptrace_report_syscall(regs);663663+ if (test_thread_flag(TIF_SYSCALL_TRACE) &&664664+ tracehook_report_syscall_entry(regs))665665+ ret = -1;664666665667 audit_syscall_entry(__syscall_get_arch(),666668 regs->regs[2],