HomeFreeBSD

Use xmalloc and read(2) instead of mmap(2) to read in libmap.conf(5).

Description

Use xmalloc and read(2) instead of mmap(2) to read in libmap.conf(5).
This removes the need to call munmap(2) afterwards.

MFC after: 2 weeks
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D12767

Details

Provenance
traszAuthored on
Differential Revision
D12767: Use xmalloc+read instead of mmap(2) to read in libmap.conf(5)
Parents
rS324948: MFC r324179, r324193:
Branches
Unknown
Tags
Unknown