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)
commit634a81609561f05266e1f625b6f2567c2e0b0419
tree142d5a227bad78810a989b8daa6ff47d637b9a60
parentda029c11e6b12f321f36dac8771e833b65cec962
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: 67d7ddded322 ("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