bsd-user/mmap.c: mmap prefer MAP_ANON for BSD
authorWarner Losh <imp@bsdimp.com>
Fri, 17 Sep 2021 00:45:28 +0000 (18:45 -0600)
committerWarner Losh <imp@bsdimp.com>
Sun, 17 Oct 2021 22:55:52 +0000 (16:55 -0600)
commit953b69cc06fe3ae5fa1c157f17f054fa95620f38
tree5f82859ad4630d9d656b7977155f84543fea1bbb
parent14837a3f7540f38ba78261238da3914a6529d882
bsd-user/mmap.c: mmap prefer MAP_ANON for BSD

MAP_ANON and MAP_ANONYMOUS are identical. Prefer MAP_ANON for BSD since
the file is now a confusing mix of the two.

Signed-off-by: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Kyle Evans <kevans@FreeBSD.org>
bsd-user/mmap.c