git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.3
[linux-2.6.git]
/
arch
/
s390
/
kernel
/
compat_linux.c
diff --git
a/arch/s390/kernel/compat_linux.c
b/arch/s390/kernel/compat_linux.c
index
5685c5f
..
5c0a63a
100644
(file)
--- a/
arch/s390/kernel/compat_linux.c
+++ b/
arch/s390/kernel/compat_linux.c
@@
-725,8
+725,7
@@
sys32_rt_sigqueueinfo(int pid, int sig, siginfo_t32 __user *uinfo)
int ret;
mm_segment_t old_fs = get_fs();
int ret;
mm_segment_t old_fs = get_fs();
- if (copy_from_user (&info, uinfo, 3*sizeof(int)) ||
- copy_from_user (info._sifields._pad, uinfo->_sifields._pad, SI_PAD_SIZE))
+ if (copy_siginfo_from_user32(&info, uinfo))
return -EFAULT;
set_fs (KERNEL_DS);
ret = sys_rt_sigqueueinfo(pid, sig, &info);
return -EFAULT;
set_fs (KERNEL_DS);
ret = sys_rt_sigqueueinfo(pid, sig, &info);
@@
-1219,7
+1218,7
@@
asmlinkage long sys32_clone(struct pt_regs regs)
child_tidptr = (int *) (regs.gprs[5] & 0x7fffffffUL);
if (!newsp)
newsp = regs.gprs[15];
child_tidptr = (int *) (regs.gprs[5] & 0x7fffffffUL);
if (!newsp)
newsp = regs.gprs[15];
- return do_fork(clone_flags
& ~CLONE_IDLETASK
, newsp, ®s, 0,
+ return do_fork(clone_flags, newsp, ®s, 0,
parent_tidptr, child_tidptr);
}
parent_tidptr, child_tidptr);
}