projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20c0989
)
arch/Kconfig: Drop always true condition from RANDOMIZE_KSTACK_OFFSET
author
Nathan Chancellor
<nathan@kernel.org>
Thu, 21 Aug 2025 21:15:39 +0000
(14:15 -0700)
committer
Nathan Chancellor
<nathan@kernel.org>
Thu, 28 Aug 2025 23:58:43 +0000
(16:58 -0700)
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>
arch/Kconfig
patch
|
blob
|
history
diff --git
a/arch/Kconfig
b/arch/Kconfig
index
d1b4ffd
..
4935c4c
100644
(file)
--- a/
arch/Kconfig
+++ b/
arch/Kconfig
@@
-1475,7
+1475,6
@@
config RANDOMIZE_KSTACK_OFFSET
bool "Support for randomizing kernel stack offset on syscall entry" if EXPERT
default y
depends on HAVE_ARCH_RANDOMIZE_KSTACK_OFFSET
- depends on INIT_STACK_NONE || !CC_IS_CLANG || CLANG_VERSION >= 140000
help
The kernel stack offset can be randomized (after pt_regs) by
roughly 5 bits of entropy, frustrating memory corruption