Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158465
b: refs/heads/master
c: cd0980f
h: refs/heads/master
i:
  158463: 7e9b408
v: v3
  • Loading branch information
Hendrik Brueckner authored and Frederic Weisbecker committed Aug 26, 2009
1 parent f04c709 commit cc681ce
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7515bf59f87f19b2a17972b74230d2f91756fe3c
refs/heads/master: cd0980fc8add25e8ab12fcf1051c0f20cbc7c0c0
4 changes: 4 additions & 0 deletions trunk/kernel/trace/trace_syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,8 @@ void ftrace_syscall_enter(struct pt_regs *regs, long id)
int syscall_nr;

syscall_nr = syscall_get_nr(current, regs);
if (syscall_nr < 0)
return;
if (!test_bit(syscall_nr, enabled_enter_syscalls))
return;

Expand Down Expand Up @@ -257,6 +259,8 @@ void ftrace_syscall_exit(struct pt_regs *regs, long ret)
int syscall_nr;

syscall_nr = syscall_get_nr(current, regs);
if (syscall_nr < 0)
return;
if (!test_bit(syscall_nr, enabled_exit_syscalls))
return;

Expand Down

0 comments on commit cc681ce

Please sign in to comment.