]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit085640f7ff6f940a7e3f7810b55547a5f21084f7
tree69a92ace171ff8207224a1808686fbf24ccb84ab
parent0de8b1bc9c9a369363215e777eb55f7e1f646eda
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: c7a4786f5fd2 ("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