Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1078
b: refs/heads/master
c: 804c241
h: refs/heads/master
v: v3
  • Loading branch information
Bodo Stroesser authored and Linus Torvalds committed May 7, 2005
1 parent 6ab8dbb commit 83319b4
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: 82c1c11bdd92d94f8fd620a3ea6c894eba37d4ed
refs/heads/master: 804c2415c9182b95719cdf85913f6313f7ac042a
4 changes: 4 additions & 0 deletions trunk/arch/um/kernel/tt/syscall_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ void do_syscall(void *task, int pid, int local_using_sysemu)

UPT_SYSCALL_NR(TASK_REGS(task)) = PT_SYSCALL_NR(proc_regs);

#ifdef UPT_ORIGGPR2
UPT_ORIGGPR2(TASK_REGS(task)) = REGS_ORIGGPR2(proc_regs);
#endif

if(((unsigned long *) PT_IP(proc_regs) >= &_stext) &&
((unsigned long *) PT_IP(proc_regs) <= &_etext))
tracer_panic("I'm tracing myself and I can't get out");
Expand Down

0 comments on commit 83319b4

Please sign in to comment.