alpha: fix osf_wait4() breakage
authorAl Viro <viro@ZenIV.linux.org.uk>
Sun, 22 Jul 2018 14:07:11 +0000 (15:07 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sun, 22 Jul 2018 18:51:30 +0000 (11:51 -0700)
commitf88a333b44318643282b8acc92af90deda441f5e
tree69a92ace171ff8207224a1808686fbf24ccb84ab
parent45ae4df9220701071ffec057d4b0071943022ab3
alpha: fix osf_wait4() breakage

kernel_wait4() expects a userland address for status - it's only
rusage that goes as a kernel one (and needs a copyout afterwards)

[ Also, fix the prototype of kernel_wait4() to have that __user
  annotation   - Linus ]

Fixes: 92ebce5ac55d ("osf_wait4: switch to kernel_wait4()")
Cc: stable@kernel.org # v4.13+
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/kernel/osf_sys.c
include/linux/sched/task.h