summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2025-01-22 20:29:53 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2025-01-22 20:29:53 -0800
commit5ab889facc6893e4a973d6ab5432550ef4f6ff09 (patch)
treec9c93500a3bea14b153985ded7f59605ef060e4e /security
parentad2aec7c963e8ce32c2f2106276ab6ba549ff355 (diff)
parenta9a5e0bdc5a77a7c662ad4be0ad661f0b0d5e99d (diff)
downloadlinux-5ab889facc6893e4a973d6ab5432550ef4f6ff09.tar.gz
linux-5ab889facc6893e4a973d6ab5432550ef4f6ff09.tar.bz2
linux-5ab889facc6893e4a973d6ab5432550ef4f6ff09.zip
Merge tag 'hardening-v6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux
Pull hardening updates from Kees Cook: - stackleak: Use str_enabled_disabled() helper (Thorsten Blum) - Document GCC INIT_STACK_ALL_PATTERN behavior (Geert Uytterhoeven) - Add task_prctl_unknown tracepoint (Marco Elver) * tag 'hardening-v6.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: hardening: Document INIT_STACK_ALL_PATTERN behavior with GCC stackleak: Use str_enabled_disabled() helper in stack_erasing_sysctl() tracing: Remove pid in task_rename tracing output tracing: Add task_prctl_unknown tracepoint
Diffstat (limited to 'security')
-rw-r--r--security/Kconfig.hardening1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/Kconfig.hardening b/security/Kconfig.hardening
index c9d5ca3d8d08..b56e001e0c6a 100644
--- a/security/Kconfig.hardening
+++ b/security/Kconfig.hardening
@@ -127,6 +127,7 @@ choice
repeating for all types and padding except float and double
which use 0xFF repeating (-NaN). Clang on 32-bit uses 0xFF
repeating for all types and padding.
+ GCC uses 0xFE repeating for all types, and zero for padding.
config INIT_STACK_ALL_ZERO
bool "zero-init everything (strongest and safest)"