summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>2026-03-04 08:49:01 +0100
committerThomas Gleixner <tglx@kernel.org>2026-03-11 10:18:30 +0100
commitacc4f131d5d57c2aa89db914aeb6f7bb0ab4eb4a (patch)
tree7a7cd67aee2aab390828c6c964e5b7b07763a5ab /security
parent05988dba11791ccbb458254484826b32f17f4ad2 (diff)
downloadlwn-acc4f131d5d57c2aa89db914aeb6f7bb0ab4eb4a.tar.gz
lwn-acc4f131d5d57c2aa89db914aeb6f7bb0ab4eb4a.zip
sparc64: vdso: Link with -z noexecstack
The vDSO stack does not need to be executable. Prevent the linker from creating executable. For more background see commit ffcf9c5700e4 ("x86: link vdso and boot with -z noexecstack --no-warn-rwx-segments"). Also prevent the following warning from the linker: sparc64-linux-ld: warning: arch/sparc/vdso/vdso-note.o: missing .note.GNU-stack section implies executable stack sparc64-linux-ld: NOTE: This behaviour is deprecated and will be removed in a future version of the linker Fixes: 9a08862a5d2e ("vDSO for sparc") Suggested-by: Arnd Bergmann <arnd@kernel.org> Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Tested-by: Andreas Larsson <andreas@gaisler.com> Reviewed-by: Andreas Larsson <andreas@gaisler.com> Acked-by: Andreas Larsson <andreas@gaisler.com> Link: https://lore.kernel.org/lkml/20250707144726.4008707-1-arnd@kernel.org/ Link: https://patch.msgid.link/20260304-vdso-sparc64-generic-2-v6-4-d8eb3b0e1410@linutronix.de
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions