Commit f4135fca authored by Tiezhu Yang's avatar Tiezhu Yang Committed by Jonathan Corbet
Browse files

Documentation/features: Check ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT



ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT selects ARCH_HAS_ELF_RANDOMIZE,
so add ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT as another Kconfig check
for ELF-ASLR feature, then the refresh script can be used to handle
this case for all archs.

Co-developed-by: default avatarXi Ruoyao <xry111@xry111.site>
Signed-off-by: default avatarXi Ruoyao <xry111@xry111.site>
Signed-off-by: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: default avatarJonathan Corbet <corbet@lwn.net>
Link: https://lore.kernel.org/r/1689060720-4628-2-git-send-email-yangtiezhu@loongson.cn
parent 3afd89a4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
#
# Feature name:          ELF-ASLR
#         Kconfig:       ARCH_HAS_ELF_RANDOMIZE
#         Kconfig:       ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT
#         description:   arch randomizes the stack, heap and binary images of ELF binaries
#
    -----------------------