Re: [PATCH 5/9] bsd-user: mmap prefer MAP_ANON for BSD

2021-09-17 Thread Philippe Mathieu-Daudé
On 9/17/21 4:56 AM, Warner Losh wrote: > 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 > --- > bsd-user/mmap.c | 11 +-- > 1 file changed, 5 insertions(+), 6 deletions(-) Reviewed-by:

[PATCH 5/9] bsd-user: mmap prefer MAP_ANON for BSD

2021-09-16 Thread Warner Losh
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 --- bsd-user/mmap.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/bsd-user/mmap.c b/bsd-user/mmap.c index 0acc2db712..b