Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2018 13:32:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        testing@freebsd.org
Subject:   [Bug 233646] Flakey test case: bin.sh.builtins.functional_test.kill1
Message-ID:  <bug-233646-32464-l2ihVHyZQ4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-233646-32464@https.bugs.freebsd.org/bugzilla/>
References:  <bug-233646-32464@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233646

--- Comment #7 from commit-hook@freebsd.org ---
A commit references this bug:

Author: jilles
Date: Fri Dec 28 13:32:15 UTC 2018
New revision: 342572
URL: https://svnweb.freebsd.org/changeset/base/342572

Log:
  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/kill=
1.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

Changes:
  head/sys/kern/kern_proc.c

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-233646-32464-l2ihVHyZQ4>