[PATCH v2] elf: early conversion of elf p_flags to mprotect flags
Andreas Schwab
schwab@linux-m68k.org
Thu Jul 3 12:03:32 GMT 2025
On Jul 03 2025, Cupertino Miranda wrote:
> +/* ELF uses the PF_x macros to specify the segment permissions, mmap
> + uses PROT_xxx. In most cases the three macros have the values 1, 2,
> + and 3 but not in a matching order. The following macros allows
1,2,4, not 1,2,3.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
More information about the Libc-alpha
mailing list