diff options
Diffstat (limited to 'arch/x86/kernel/ptrace.c')
-rw-r--r-- | arch/x86/kernel/ptrace.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/kernel/ptrace.c b/arch/x86/kernel/ptrace.c index 34dd6f15185d..a909afef44f4 100644 --- a/arch/x86/kernel/ptrace.c +++ b/arch/x86/kernel/ptrace.c | |||
@@ -1500,7 +1500,7 @@ asmregparm long syscall_trace_enter(struct pt_regs *regs) | |||
1500 | tracehook_report_syscall_entry(regs)) | 1500 | tracehook_report_syscall_entry(regs)) |
1501 | ret = -1L; | 1501 | ret = -1L; |
1502 | 1502 | ||
1503 | if (unlikely(test_thread_flag(TIF_SYSCALL_FTRACE))) | 1503 | if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) |
1504 | trace_syscall_enter(regs, regs->orig_ax); | 1504 | trace_syscall_enter(regs, regs->orig_ax); |
1505 | 1505 | ||
1506 | if (unlikely(current->audit_context)) { | 1506 | if (unlikely(current->audit_context)) { |
@@ -1526,7 +1526,7 @@ asmregparm void syscall_trace_leave(struct pt_regs *regs) | |||
1526 | if (unlikely(current->audit_context)) | 1526 | if (unlikely(current->audit_context)) |
1527 | audit_syscall_exit(AUDITSC_RESULT(regs->ax), regs->ax); | 1527 | audit_syscall_exit(AUDITSC_RESULT(regs->ax), regs->ax); |
1528 | 1528 | ||
1529 | if (unlikely(test_thread_flag(TIF_SYSCALL_FTRACE))) | 1529 | if (unlikely(test_thread_flag(TIF_SYSCALL_TRACEPOINT))) |
1530 | trace_syscall_exit(regs, regs->ax); | 1530 | trace_syscall_exit(regs, regs->ax); |
1531 | 1531 | ||
1532 | if (test_thread_flag(TIF_SYSCALL_TRACE)) | 1532 | if (test_thread_flag(TIF_SYSCALL_TRACE)) |