HomeFreeBSD

kern_procctl: skip zombies for process group operations

Description

kern_procctl: skip zombies for process group operations

When iterating over the process group members, skip zombies same as it
is done by pfind() for single-process operation.

Reviewed by: emaste, markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D32513

Details

Provenance
kibAuthored on Oct 18 2021, 9:29 PM
Reviewer
emaste
Differential Revision
D32513: procctl: require debug privileges over the target for most of the _CTL commands
Parents
rG3692877a6cf8: kern_procctl.c: use td->td_proc instead of curproc
Branches
Unknown
Tags
Unknown