HomeFreeBSD

rtld: make checks for mmap(2) failures compliant with documentation.

Description

rtld: make checks for mmap(2) failures compliant with documentation.

On error, mmap(2) returns MAP_FAILED. There is no need to use its
definition or to cast.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS355675: Merge in an up to date kernel from head.
Branches
Unknown
Tags
Unknown