projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0fcd270
)
[PATCH] x86_64: Remove check for canonical RIP
author
Andi Kleen
<ak@suse.de>
Tue, 11 Apr 2006 10:54:39 +0000
(12:54 +0200)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 11 Apr 2006 13:38:57 +0000
(06:38 -0700)
As pointed out by Linus it is useless now because entry.S should
handle it correctly in all cases.
Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/ptrace.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/x86_64/kernel/ptrace.c
b/arch/x86_64/kernel/ptrace.c
index d44b2c1e63a6a5649aa57e561fafd6ef78192cf4..da8e7903d8174a59ff1caf84202fa943e5372c7e 100644
(file)
--- a/
arch/x86_64/kernel/ptrace.c
+++ b/
arch/x86_64/kernel/ptrace.c
@@
-274,11
+274,6
@@
static int putreg(struct task_struct *child,
return -EIO;
value &= 0xffff;
break;
- case offsetof(struct user_regs_struct, rip):
- /* Check if the new RIP address is canonical */
- if (value >= TASK_SIZE_OF(child))
- return -EIO;
- break;
}
put_stack_long(child, regno - sizeof(struct pt_regs), value);
return 0;