mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-22 19:14:51 +00:00
The p_align values in PT_LOAD were ignored for static PIE executables (i.e. ET_DYN without PT_INTERP). This is because there is no way to request a non-fixed mmap region with a specific alignment. ET_DYN with PT_INTERP uses a separate base address (ELF_ET_DYN_BASE) and binfmt_elf performs the ASLR itself, which means it can also apply alignment. For the mmap region, the address selection happens deep within the vm_mmap() implementation (when the requested address is 0). The earlier attempt to implement this: commit |
History
|
|
|---|---|---|
| .. | ||
| .gitignore | ||
| binfmt_script.py | ||
| execveat.c | ||
| load_address.c | ||
| Makefile | ||
| non-regular.c | ||
| null-argv.c | ||
| recursion-depth.c | ||