HomeFreeBSD

kern_rctl.c: Minimal includes when RCTL not defined

Description

kern_rctl.c: Minimal includes when RCTL not defined

If RCTL is not defined, only the system call stubs returning ENOSYS are
compiled in. In this case, don't waste time including most headers
since their code is not used.

Reviewed by: markj
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation

Details

Provenance
olceAuthored on Oct 19 2023, 2:28 PM
emasteCommitted on Nov 22 2023, 7:17 PM
Parents
rG4c9a0adad182: compiler-rt: avoid segfaults when re-exec'ing with ASLR
Branches
Unknown
Tags
Unknown