Skip to content

Commit 65aebf6

Browse files
committed
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Nathan Chancellor <[email protected]>
1 parent 20c0989 commit 65aebf6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1475,7 +1475,6 @@ config RANDOMIZE_KSTACK_OFFSET
14751475
bool "Support for randomizing kernel stack offset on syscall entry" if EXPERT
14761476
default y
14771477
depends on HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET
1478-
depends on INIT_STACK_NONE || !CC_IS_CLANG || CLANG_VERSION >= 140000
14791478
help
14801479
The kernel stack offset can be randomized (after pt_regs) by
14811480
roughly 5 bits of entropy, frustrating memory corruption

0 commit comments

Comments
 (0)