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-07 15:19:00 +00:00
2018-11-29 03:44:02 +00:00
2018-12-05 16:43:03 +00:00
2018-12-08 06:30:41 +00:00
2018-10-30 21:35:56 +00:00
2018-10-22 02:35:12 +00:00
2017-12-13 16:30:39 +00:00
2018-06-13 16:48:07 +00:00
2018-10-12 00:32:45 +00:00
2018-08-18 19:45:56 +00:00
2018-04-08 16:34:10 +00:00
2018-06-01 13:26:45 +00:00
2018-11-20 14:58:41 +00:00
2018-10-25 15:40:59 +00:00
2018-11-20 14:59:27 +00:00
2018-12-07 15:19:00 +00:00
2018-12-07 15:19:00 +00:00
2018-06-01 13:26:45 +00:00
2018-11-11 00:21:28 +00:00
2018-11-19 00:54:31 +00:00
2018-06-01 13:26:45 +00:00
2018-10-23 21:43:41 +00:00