HomeFreeBSD

kboot: Implement getpid(2)

Description

kboot: Implement getpid(2)

Add host_getpid() so we can know if we're running as init(8) or not. If
we are, we may chose to do early system setup / sanity operations.

Sponsored by: Netflix

(cherry picked from commit 764780294f1df220174c1eb2208c0774d685d594)

Details

Provenance
impAuthored on Jun 30 2022, 6:12 PM
Parents
rG7743778bf19a: kboot: Implement munmap(2)
Branches
Unknown
Tags
Unknown