HomeFreeBSD

reboot: Use posix_spawn instead of system

Description

reboot: Use posix_spawn instead of system

Use posix_spawn to avoid having to allocate memory needed for the system
command line.

Sponsored by: Netflix
Reviewed by: jrtc27
Differential Revision: https://reviews.freebsd.org/D43860

Details

Provenance
impAuthored on Feb 16 2024, 3:52 AM
Reviewer
jrtc27
Differential Revision
D43860: reboot: Use posix_spawn instead of system
Parents
rG62b1faa3b749: ipfw: Skip to the start of the loop when following a keep-state rule
Branches
Unknown
Tags
Unknown