HomeFreeBSD

exec: Simplify sv_copyout_strings implementations a bit

Description

exec: Simplify sv_copyout_strings implementations a bit

Simplify control flow around handling of the execpath length and signal
trampoline. Cache the sysentvec pointer in a local variable.

No functional change intended.

Reviewed by: kib
Sponsored by: The FreeBSD Foundation

(cherry picked from commit f04a096049382637178b54ffb45089f5f9fb3db9)

Details

Provenance
markjAuthored on Dec 31 2021, 5:50 PM
Parents
rGb47fc941b0ab: loader: Fix dtb loading
Branches
Unknown
Tags
Unknown