Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 19432
b: refs/heads/master
c: e5cf888
h: refs/heads/master
v: v3
  • Loading branch information
Paolo 'Blaisorblade' Giarrusso authored and Linus Torvalds committed Feb 1, 2006
1 parent e999d92 commit afcd1ed
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 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: 3dfd95b378953f6cf0bd58fc990c05ef5a0ea1a6
refs/heads/master: e5cf888631af95c8022d659d77fb595e0c3ac778
8 changes: 6 additions & 2 deletions trunk/arch/um/kernel/tt/syscall_kern.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,20 @@ void syscall_handler_tt(int sig, struct pt_regs *regs)
int syscall;
#ifdef CONFIG_SYSCALL_DEBUG
int index;
index = record_syscall_start(syscall);
#endif
sc = UPT_SC(&regs->regs);
SC_START_SYSCALL(sc);

syscall = UPT_SYSCALL_NR(&regs->regs);

#ifdef CONFIG_SYSCALL_DEBUG
index = record_syscall_start(syscall);
#endif

syscall_trace(&regs->regs, 0);

current->thread.nsyscalls++;
nsyscalls++;
syscall = UPT_SYSCALL_NR(&regs->regs);

if((syscall >= NR_syscalls) || (syscall < 0))
result = -ENOSYS;
Expand Down

0 comments on commit afcd1ed

Please sign in to comment.