Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1297
b: refs/heads/master
c: c4d1fcf
h: refs/heads/master
i:
  1295: 3aa9c7a
v: v3
  • Loading branch information
Andi Kleen authored and Linus Torvalds committed May 20, 2005
1 parent 6696cac commit a5b9a12
Show file tree
Hide file tree
Showing 2 changed files with 3 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: b41e29398a873945d02e0009ce7e57608fdb4042
refs/heads/master: c4d1fcf3a2ea89b6d6221fa8b4588c77aff50995
4 changes: 2 additions & 2 deletions trunk/arch/x86_64/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,7 +380,7 @@ asmlinkage long sys_ptrace(long request, long pid, unsigned long addr, long data
break;

switch (addr) {
case 0 ... sizeof(struct user_regs_struct):
case 0 ... sizeof(struct user_regs_struct) - sizeof(long):
tmp = getreg(child, addr);
break;
case offsetof(struct user, u_debugreg[0]):
Expand Down Expand Up @@ -425,7 +425,7 @@ asmlinkage long sys_ptrace(long request, long pid, unsigned long addr, long data
break;

switch (addr) {
case 0 ... sizeof(struct user_regs_struct):
case 0 ... sizeof(struct user_regs_struct) - sizeof(long):
ret = putreg(child, addr, data);
break;
/* Disallows to set a breakpoint into the vsyscall */
Expand Down

0 comments on commit a5b9a12

Please sign in to comment.