]> git.baikalelectronics.ru Git - kernel.git/commit
randstruct: Enable Clang support
authorKees Cook <keescook@chromium.org>
Tue, 3 May 2022 20:55:03 +0000 (13:55 -0700)
committerKees Cook <keescook@chromium.org>
Sun, 8 May 2022 08:33:07 +0000 (01:33 -0700)
commitd3ea1d938827ee2d3cc8ddd3abfd8e9a5fd1c5e0
treee7c51ad07b1fa5f4c2f870c2045b8d27c5b3e1ed
parent580a2153ef72045e33ac0f3a02630b8e06734566
randstruct: Enable Clang support

Clang 15 will support randstruct via the -frandomize-layout-seed-file=...
option. Update the Kconfig and Makefile to recognize this feature.

Cc: Masahiro Yamada <masahiroy@kernel.org>
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Link: https://lore.kernel.org/r/20220503205503.3054173-7-keescook@chromium.org
scripts/Makefile.randstruct
security/Kconfig.hardening