|
@@ -681,7 +681,7 @@ static int ptrace_peek_siginfo(struct task_struct *child,
|
|
|
break;
|
|
break;
|
|
|
|
|
|
|
|
#ifdef CONFIG_COMPAT
|
|
#ifdef CONFIG_COMPAT
|
|
|
- if (unlikely(is_compat_task())) {
|
|
|
|
|
|
|
+ if (unlikely(in_compat_syscall())) {
|
|
|
compat_siginfo_t __user *uinfo = compat_ptr(data);
|
|
compat_siginfo_t __user *uinfo = compat_ptr(data);
|
|
|
|
|
|
|
|
if (copy_siginfo_to_user32(uinfo, &info) ||
|
|
if (copy_siginfo_to_user32(uinfo, &info) ||
|