HomeFreeBSD

kern_procctl: add possibility to take stop_all_proc_block() around exec

Description

kern_procctl: add possibility to take stop_all_proc_block() around exec

stop_allo_proc_block() must be taken before proctree_lock.

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

Details

Provenance
kibAuthored on Apr 27 2022, 9:18 PM
Reviewer
markj
Differential Revision
D35014: Fix a race between fork(2) and PROC_REAP_KILL subtree
Parents
rG2e7595ef2f53: Add stop_all_proc_block(9)
Branches
Unknown
Tags
Unknown