On 4/10/23 11:20, Warner Losh wrote:
MAP_GUARD, MAP_EXCL, and MAP_NOCORE are FreeBSD only. Define them to be 0 if they aren't defined, and rely on the compiler to optimize away sections not relevant. Added only to the top of mmap.c since that's the only place we need this.Signed-off-by: Warner Losh<i...@bsdimp.com> --- bsd-user/mmap.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~