jilles 9cebe88602 pfind, pfind_any: Correct zombie logic
SVN r340744 erroneously changed pfind() to return any process including
zombies and pfind_any() to return only non-zombie processes.

In particular, this caused kill() on a zombie process to fail with [ESRCH].
There is no direct test case for this but /usr/tests/bin/sh/builtins/kill1.0
occasionally triggers it (as reported by lwhsu).

Conversely, returning zombies from pfind() seems likely to violate
invariants and cause panics, but I have not looked at this.

PR:		233646
Reviewed by:	mjg, kib, ngie
Differential Revision:	https://reviews.freebsd.org/D18665
2018-12-28 13:32:14 +00:00
..
2018-12-19 21:57:58 +00:00
2018-12-19 21:57:58 +00:00
2018-12-19 21:57:58 +00:00
2018-12-13 04:40:53 +00:00
2018-10-20 20:45:49 +00:00
2018-12-12 21:10:34 +00:00
2018-10-20 22:39:35 +00:00
2018-12-19 21:57:58 +00:00
2018-12-24 19:37:10 +00:00