HomeFreeBSD

Resolve confusion between different error code spaces.

Description

Resolve confusion between different error code spaces.

The vm_map_fixed() and vm_map_stack() VM functions return Mach error
codes. Convert them into errno values before returning result from
exec_new_vmspace().

While there, modernize the comment and do minor style adjustments.

Reviewed by: alc
Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Reviewer
alc
Parents
rS320618: Allow rtadvd and bsnmpd to run in vnet jails
Branches
Unknown
Tags
Unknown