Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35841
b: refs/heads/master
c: a752d71
h: refs/heads/master
i:
  35839: cc4705e
v: v3
  • Loading branch information
Chuck Ebbert authored and Andi Kleen committed Sep 26, 2006
1 parent 2fb8621 commit ec4aff0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 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: 8578bdf835d6d6ece6718858d351456367b8a5cf
refs/heads/master: a752d7194c4fb5a3e767c95542d04fc5decb1d52
5 changes: 4 additions & 1 deletion trunk/arch/x86_64/kernel/ptrace.c
Original file line number Diff line number Diff line change
Expand Up @@ -141,8 +141,11 @@ static int is_at_popf(struct task_struct *child, struct pt_regs *regs)
case 0xf0: case 0xf2: case 0xf3:
continue;

/* REX prefixes */
case 0x40 ... 0x4f:
if (regs->cs != __USER_CS)
/* 32-bit mode: register increment */
return 0;
/* 64-bit mode: REX prefix */
continue;

/* CHECKME: f0, f2, f3 */
Expand Down

0 comments on commit ec4aff0

Please sign in to comment.