]> 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)
commit6d83f7b70aa6140ecd93db525cfbada90cea4f84
tree69a92ace171ff8207224a1808686fbf24ccb84ab
parentf246f5bc8a4a27f37199bc79c46deaeab057e72d
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: 8b3a0e0835a2 ("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