osf_wait4: switch to kernel_wait4()
... and sanitize copying rusage to userland Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
@@ -1639,8 +1639,8 @@ Efault:
|
||||
return -EFAULT;
|
||||
}
|
||||
|
||||
static long kernel_wait4(pid_t upid, int __user *stat_addr,
|
||||
int options, struct rusage *ru)
|
||||
long kernel_wait4(pid_t upid, int __user *stat_addr, int options,
|
||||
struct rusage *ru)
|
||||
{
|
||||
struct wait_opts wo;
|
||||
struct pid *pid = NULL;
|
||||
|
Reference in New Issue
Block a user