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
Use xmalloc and read(2) instead of mmap(2) to read in libmap.conf(5). Tags None Referenced Files None Subscribers None
Description
Details
|