HomeFreeBSD

fork: remove avoidable proc lock/unlock pair

Description

fork: remove avoidable proc lock/unlock pair

We don't have to access the process after making it runnable, so there
is no need to hold it either.

Sponsored by: The FreeBSD Foundation

Details

Provenance
mjgAuthored on
Parents
rS340784: fork: fix use-after-free with vfork
Branches
Unknown
Tags
Unknown