diff options
author | 2023-08-08 09:44:18 -0700 | |
---|---|---|
committer | 2023-08-08 21:40:20 -0700 | |
commit | c42e77a90d9244c8caf76fe0e54f84200430a4e1 (patch) | |
tree | 2bfc152b2cd7e26f86ceb7028c61652476237896 /scripts/qapi/source.py | |
parent | Merge tag 'pull-lu-20230808' of https://gitlab.com/rth7680/qemu into staging (diff) | |
download | qemu-c42e77a90d9244c8caf76fe0e54f84200430a4e1.tar.xz qemu-c42e77a90d9244c8caf76fe0e54f84200430a4e1.zip |
qemu/osdep: Remove fallback for MAP_FIXED_NOREPLACE
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.odaki@daynix.com>
Reviewed-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20230808164418.69989-1-richard.henderson@linaro.org>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions