Richard Henderson <richard.hender...@linaro.org> writes:

> In order for our emulation of MAP_FIXED_NOREPLACE to succeed within
> linux-user target_mmap, we require a non-zero value.  This does not
> require host kernel support, merely the bit being defined.
>
> MAP_FIXED_NOREPLACE was added with glibc 2.28.  From repology.org:
>
>                   Fedora 36: 2.35
>           CentOS 8 (RHEL-8): 2.28
>                   Debian 11: 2.31
>          OpenSUSE Leap 15.4: 2.31
>            Ubuntu LTS 20.04: 2.31
>
> Reported-by: Akihiko Odaki <akihiko.od...@daynix.com>
> Signed-off-by: Richard Henderson <richard.hender...@linaro.org>

Reviewed-by: Alex Bennée <alex.ben...@linaro.org>

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro

Reply via email to