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: Xi Ruoyao <xry111@xry111.site> Signed-off-by: Xi Ruoyao <xry111@xry111.site> Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: Jonathan Corbet <corbet@lwn.net> Link: https://lore.kernel.org/r/1689060720-4628-2-git-send-email-yangtiezhu@loongson.cn
This commit is contained in:
parent
3afd89a459
commit
f4135fca44
@ -1,6 +1,7 @@
|
||||
#
|
||||
# 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
|
||||
#
|
||||
-----------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user