[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1689060720-4628-2-git-send-email-yangtiezhu@loongson.cn>
Date: Tue, 11 Jul 2023 15:31:59 +0800
From: Tiezhu Yang <yangtiezhu@...ngson.cn>
To: Jonathan Corbet <corbet@....net>
Cc: linux-doc@...r.kernel.org, loongarch@...ts.linux.dev,
linux-kernel@...r.kernel.org, loongson-kernel@...ts.loongnix.cn
Subject: [PATCH 1/2] 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@...111.site>
Signed-off-by: Xi Ruoyao <xry111@...111.site>
Signed-off-by: Tiezhu Yang <yangtiezhu@...ngson.cn>
---
Documentation/features/vm/ELF-ASLR/arch-support.txt | 1 +
1 file changed, 1 insertion(+)
diff --git a/Documentation/features/vm/ELF-ASLR/arch-support.txt b/Documentation/features/vm/ELF-ASLR/arch-support.txt
index 15164f3..8d6ded2 100644
--- a/Documentation/features/vm/ELF-ASLR/arch-support.txt
+++ b/Documentation/features/vm/ELF-ASLR/arch-support.txt
@@ -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
#
-----------------------
--
2.1.0
Powered by blists - more mailing lists