OSDN Git Service

waitid(2): leave copyout of siginfo to syscall itself
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 15 May 2017 00:53:13 +0000 (20:53 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 21 May 2017 17:13:07 +0000 (13:13 -0400)
commit67d7ddded322db99f451a7959d56ed6c70a6c4aa
tree06db8587425d42836322b26688d1939568d68ab4
parent359566faefa850504d146839d74496f0cf12d3b9
waitid(2): leave copyout of siginfo to syscall itself

have kernel_waitid() collect the information needed for siginfo into
a small structure (waitid_info) passed to it; deal with copyout in
sys_waitid()/compat_sys_waitid().

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/exit.c