[GIT PULL] hardening updates for v5.15-rc1

From: Kees Cook
Date: Mon Aug 30 2021 - 14:28:06 EST


Hi Linus,

Please pull these hardening updates for v5.15-rc1.

Thanks!

-Kees

The following changes since commit 2734d6c1b1a089fb593ef6a23d4b70903526fe0c:

Linux 5.14-rc2 (2021-07-18 14:13:49 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v5.15-rc1

for you to fetch changes up to a8fc576d4af2f23a87a586424252df97f0ad0b06:

lib/test_stackinit: Add assigned initializers (2021-08-22 00:21:36 -0700)

----------------------------------------------------------------
hardening updates for v5.15-rc1

- Expand lib/test_stackinit to include more initialization styles

- Improve Kconfig for CLang's auto-var-init feature

- Introduce support for GCC's zero-call-used-regs feature

----------------------------------------------------------------
Kees Cook (5):
hardening: Introduce CONFIG_ZERO_CALL_USED_REGS
hardening: Clarify Kconfig text for auto-var-init
lib/test_stackinit: Fix static initializer test
lib/test_stackinit: Allow building stand-alone
lib/test_stackinit: Add assigned initializers

Makefile | 5 +
lib/test_stackinit.c | 253 +++++++++++++++++++++++++++++++++------------
security/Kconfig.hardening | 71 +++++++++----
3 files changed, 242 insertions(+), 87 deletions(-)

--
Kees Cook