We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04ffde1 commit 78f7a3fCopy full SHA for 78f7a3f
security/Kconfig.hardening
@@ -281,6 +281,9 @@ endmenu
281
282
config CC_HAS_RANDSTRUCT
283
def_bool $(cc-option,-frandomize-layout-seed-file=/dev/null)
284
+ # Randstruct was first added in Clang 15, but it isn't safe to use until
285
+ # Clang 16 due to https://github.com/llvm/llvm-project/issues/60349
286
+ depends on !CC_IS_CLANG || CLANG_VERSION >= 160000
287
288
choice
289
prompt "Randomize layout of sensitive kernel structures"
0 commit comments