[GIT PULL] hardening fix for v7.1-rc4

From: Kees Cook

Date: Fri May 15 2026 - 13:37:06 EST


Hi Linus,

Please pull this hardening fix for v7.1-rc4.

Thanks!

-Kees

The following changes since commit 7fd2df204f342fc17d1a0bfcd474b24232fb0f32:

Linux 7.1-rc2 (2026-05-03 14:21:25 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git tags/hardening-v7.1-rc4

for you to fetch changes up to 905c559e51497b8bfdbb68df8be56d2f70f0de8e:

gcc-plugins: Always define CONST_CAST_GIMPLE and CONST_CAST_TREE (2026-05-14 09:24:32 -0700)

----------------------------------------------------------------
hardening fix for v7.1-rc4

- gcc-plugins: Fix GCC 16 removal of CONST_CAST macros

----------------------------------------------------------------
Kees Cook (1):
gcc-plugins: Always define CONST_CAST_GIMPLE and CONST_CAST_TREE

scripts/gcc-plugins/gcc-common.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)

--
Kees Cook