]> git.baikalelectronics.ru Git - kernel.git/commit
fix waitid(2) breakage
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 8 Jul 2017 15:26:39 +0000 (11:26 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 8 Jul 2017 15:26:39 +0000 (11:26 -0400)
commita2dd61e4466dfc5e845e688d6fe51b43d6149dab
tree142d5a227bad78810a989b8daa6ff47d637b9a60
parentcaac94a8c5d969d6e857ced55606cf1d52ad421c
fix waitid(2) breakage

We lose the distinction between "found a PID" and "nothing, but that's not
an error" a bit too early in waitid().  Easily fixed, fortunately...

Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Fixes: b0ee74ab20be ("waitid(2): leave copyout of siginfo to syscall itself")
Tested-by: Markus Trippelsdorf <markus@trippelsdorf.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
kernel/exit.c