| commit | 634a81609561f05266e1f625b6f2567c2e0b0419 | [log] [tgz] |
|---|---|---|
| author | Al Viro <viro@zeniv.linux.org.uk> | Sat Jul 08 11:26:39 2017 -0400 |
| committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Jul 08 11:26:39 2017 -0400 |
| tree | 142d5a227bad78810a989b8daa6ff47d637b9a60 | |
| parent | da029c11e6b12f321f36dac8771e833b65cec962 [diff] |
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>