projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ptrace: in PEEK_SIGINFO, check syscall bitness, not task bitness
[linux-2.6-block.git]
/
kernel
/
ptrace.c
diff --git
a/kernel/ptrace.c
b/kernel/ptrace.c
index 2341efe7fe026f496095c4a9c1526a69cad3849a..c79b91d09e35a700374bedf3c9e9e815f378aa8a 100644
(file)
--- a/
kernel/ptrace.c
+++ b/
kernel/ptrace.c
@@
-681,7
+681,7
@@
static int ptrace_peek_siginfo(struct task_struct *child,
break;
#ifdef CONFIG_COMPAT
- if (unlikely(i
s_compat_task
())) {
+ if (unlikely(i
n_compat_syscall
())) {
compat_siginfo_t __user *uinfo = compat_ptr(data);
if (copy_siginfo_to_user32(uinfo, &info) ||