On FreeBSD the 'fd' parameter is required to be (-1) when the MAP_ANONYMOUS flag is specified. Linux ignores that parameter in such cases.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Differential D6929
[Msan] Fix use of mmap(MAP_ANONYMOUS) in the unit tests on FreeBSD kutuzov.viktor.84 on Jan 12 2015, 9:46 AM. Authored by
Details On FreeBSD the 'fd' parameter is required to be (-1) when the MAP_ANONYMOUS flag is specified. Linux ignores that parameter in such cases.
Diff Detail
|