Skip to content
Commit ce72a16f authored by Al Viro's avatar Al Viro
Browse files

wait4(2)/waitid(2): separate copying rusage to userland



New helpers: kernel_waitid() and kernel_wait4().  sys_waitid(),
sys_wait4() and their compat variants switched to those.  Copying
struct rusage to userland is left to syscall itself.  For
compat_sys_wait4() that eliminates the use of set_fs() completely.
For compat_sys_waitid() it's still needed (for siginfo handling);
that will change shortly.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 7e95a225
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment