2023-07-11 07:50:30

by Tiezhu Yang

[permalink] [raw]
Subject: [PATCH 0/2] Update Documentation/features

This patch series is based on 6.5-rc1, it also applies cleanly to
DOCUMENTATION tree: git.lwn.net/linux.git docs-next

Tiezhu Yang (2):
Documentation/features: Check ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT
Documentation/features: Refresh support files for 6.5

Documentation/features/debug/kprobes-on-ftrace/arch-support.txt | 2 +-
Documentation/features/debug/kprobes/arch-support.txt | 2 +-
Documentation/features/debug/kretprobes/arch-support.txt | 2 +-
Documentation/features/debug/stackprotector/arch-support.txt | 2 +-
Documentation/features/debug/uprobes/arch-support.txt | 2 +-
Documentation/features/locking/lockdep/arch-support.txt | 2 +-
Documentation/features/vm/ELF-ASLR/arch-support.txt | 5 +++--
7 files changed, 9 insertions(+), 8 deletions(-)

--
2.1.0



2023-07-11 08:01:36

by Tiezhu Yang

[permalink] [raw]
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 <[email protected]>
Signed-off-by: Xi Ruoyao <[email protected]>
Signed-off-by: Tiezhu Yang <[email protected]>
---
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


2023-07-14 19:03:53

by Jonathan Corbet

[permalink] [raw]
Subject: Re: [PATCH 0/2] Update Documentation/features

Tiezhu Yang <[email protected]> writes:

> This patch series is based on 6.5-rc1, it also applies cleanly to
> DOCUMENTATION tree: git.lwn.net/linux.git docs-next
>
> Tiezhu Yang (2):
> Documentation/features: Check ARCH_WANT_DEFAULT_TOPDOWN_MMAP_LAYOUT
> Documentation/features: Refresh support files for 6.5
>
> Documentation/features/debug/kprobes-on-ftrace/arch-support.txt | 2 +-
> Documentation/features/debug/kprobes/arch-support.txt | 2 +-
> Documentation/features/debug/kretprobes/arch-support.txt | 2 +-
> Documentation/features/debug/stackprotector/arch-support.txt | 2 +-
> Documentation/features/debug/uprobes/arch-support.txt | 2 +-
> Documentation/features/locking/lockdep/arch-support.txt | 2 +-
> Documentation/features/vm/ELF-ASLR/arch-support.txt | 5 +++--
> 7 files changed, 9 insertions(+), 8 deletions(-)
>

Series applied, thanks.

jon