HomeFreeBSD

Fix up panics when fork fails due to hitting proc limit

Description

Fix up panics when fork fails due to hitting proc limit

The function clearning credentials on failure asserts the process is a
zombie, which is not true when fork fails.

Changing creds to NULL is unnecessary, but is still being done for
consistency with other code.

Pointy hat: mjg
Reported by: pho

Details

Provenance
mjgAuthored on
Parents
rS282566: Add tools/arm.subr to contain common subroutines used for
Branches
Unknown
Tags
Unknown