Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

arch/Kconfig: Drop always true condition from RANDOMIZE_KSTACK_OFFSET

Now that the minimum supported version of LLVM for building the kernel
has been bumped to 15.0.0, the second depends line in
RANDOMIZE_KSTACK_OFFSET is always true, so it can be removed.

Reviewed-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20250821-bump-min-llvm-ver-15-v2-2-635f3294e5f0@kernel.org
Signed-off-by: Nathan Chancellor <nathan@kernel.org>

-1
-1
arch/Kconfig
··· 1475 1475 bool "Support for randomizing kernel stack offset on syscall entry" if EXPERT 1476 1476 default y 1477 1477 depends on HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET 1478 - depends on INIT_STACK_NONE || !CC_IS_CLANG || CLANG_VERSION >= 140000 1479 1478 help 1480 1479 The kernel stack offset can be randomized (after pt_regs) by 1481 1480 roughly 5 bits of entropy, frustrating memory corruption