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

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
# #
# Feature name: ELF-ASLR # Feature name: ELF-ASLR
# Kconfig: ARCH_HAS_ELF_RANDOMIZE # Kconfig: ARCH_HAS_ELF_RANDOMIZE
# Kconfig: ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT
# description: arch randomizes the stack, heap and binary images of ELF binaries # description: arch randomizes the stack, heap and binary images of ELF binaries
# #
----------------------- -----------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment