Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 331501
b: refs/heads/master
c: ebb5e15
h: refs/heads/master
i:
  331499: 8cd9b91
v: v3
  • Loading branch information
Will Deacon authored and Russell King committed Sep 19, 2012
1 parent 7916b3e commit f48f3c8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1f66e06fb6414732bef7bf4a071ef76a837badec
refs/heads/master: ebb5e15c3eb942c047108063423d5d6a04b9f167
12 changes: 6 additions & 6 deletions trunk/arch/arm/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -944,19 +944,19 @@ static int ptrace_syscall_trace(struct pt_regs *regs, int scno,

asmlinkage int syscall_trace_enter(struct pt_regs *regs, int scno)
{
int ret = ptrace_syscall_trace(regs, scno, PTRACE_SYSCALL_ENTER);
scno = ptrace_syscall_trace(regs, scno, PTRACE_SYSCALL_ENTER);
if (test_thread_flag(TIF_SYSCALL_TRACEPOINT))
trace_sys_enter(regs, ret);
trace_sys_enter(regs, scno);
audit_syscall_entry(AUDIT_ARCH_ARM, scno, regs->ARM_r0, regs->ARM_r1,
regs->ARM_r2, regs->ARM_r3);
return ret;
return scno;
}

asmlinkage int syscall_trace_exit(struct pt_regs *regs, int scno)
{
int ret = ptrace_syscall_trace(regs, scno, PTRACE_SYSCALL_EXIT);
scno = ptrace_syscall_trace(regs, scno, PTRACE_SYSCALL_EXIT);
if (test_thread_flag(TIF_SYSCALL_TRACEPOINT))
trace_sys_exit(regs, ret);
trace_sys_exit(regs, scno);
audit_syscall_exit(regs);
return ret;
return scno;
}

0 comments on commit f48f3c8

Please sign in to comment.