From: Richard Henderson Date: Tue, 29 Jul 2025 21:33:58 +0000 (-1000) Subject: linux-user: Remove MAP_DENYWRITE from elfload.c X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd1d0239a79c4e7947c901fcb1f232ecc0428a96;p=thirdparty%2Fqemu.git linux-user: Remove MAP_DENYWRITE from elfload.c The last use of this fallback was removed in bf858897b769. Reviewed-by: Peter Maydell Signed-off-by: Richard Henderson --- diff --git a/linux-user/elfload.c b/linux-user/elfload.c index c0326928d45..8b92fba0f0a 100644 --- a/linux-user/elfload.c +++ b/linux-user/elfload.c @@ -105,11 +105,6 @@ int info_is_fdpic(struct image_info *info) return info->personality == PER_LINUX_FDPIC; } -/* this flag is uneffective under linux too, should be deleted */ -#ifndef MAP_DENYWRITE -#define MAP_DENYWRITE 0 -#endif - #if TARGET_BIG_ENDIAN #define ELF_DATA ELFDATA2MSB #else