From 08996463809c4b04e6ccad835f066d43ae6227cb Mon Sep 17 00:00:00 2001 From: "Justin M. Forbes" Date: Wed, 29 Jan 2025 14:54:09 -0700 Subject: [PATCH] kernel-6.14.0-0.rc0.20250129git05dbaf8dd8bf.10 * Wed Jan 29 2025 Fedora Kernel Team [6.14.0-0.rc0.05dbaf8dd8bf.10] - s390: Add '-std=gnu11' to decompressor and purgatory CFLAGS (Nathan Chancellor) - apply -Wno-error=unterminated-string-initialization temporarily (Thorsten Leemhuis) - x86/boot: Use '-std=gnu11' to fix build with GCC 15 (Nathan Chancellor) - kbuild: Use -fzero-init-padding-bits=all (Kees Cook) - include/linux: Adjust headers for C23 (Jakub Jelinek) - x86/insn_decoder_test: allow longer symbol-names (David Rheinsberg) Resolves: Signed-off-by: Justin M. Forbes --- Patchlist.changelog | 3 +++ kernel.spec | 3 +++ patch-6.14-redhat.patch | 15 ++++++++++++++- sources | 2 +- 4 files changed, 21 insertions(+), 2 deletions(-) diff --git a/Patchlist.changelog b/Patchlist.changelog index 3ca44dd57..c298d4042 100644 --- a/Patchlist.changelog +++ b/Patchlist.changelog @@ -1,3 +1,6 @@ +https://gitlab.com/cki-project/kernel-ark/-/commit/670bfcfe5eea9f5ed932c7a119f1c3affd8de11b + 670bfcfe5eea9f5ed932c7a119f1c3affd8de11b Add -fzero-init-padding-bits to bindgen_skip_cflags + https://gitlab.com/cki-project/kernel-ark/-/commit/45a128fe0b7784e3f5f25555ddaf34b12b92ad6e 45a128fe0b7784e3f5f25555ddaf34b12b92ad6e s390: Add '-std=gnu11' to decompressor and purgatory CFLAGS diff --git a/kernel.spec b/kernel.spec index 5f154d44e..9891ae855 100644 --- a/kernel.spec +++ b/kernel.spec @@ -4180,6 +4180,9 @@ fi\ # # %changelog +* Wed Jan 29 2025 Justin M. Forbes [6.14.0-0.rc0.20250129git05dbaf8dd8bf.10] +- Add -fzero-init-padding-bits to bindgen_skip_cflags (Justin M. Forbes) + * Wed Jan 29 2025 Fedora Kernel Team [6.14.0-0.rc0.05dbaf8dd8bf.10] - s390: Add '-std=gnu11' to decompressor and purgatory CFLAGS (Nathan Chancellor) - apply -Wno-error=unterminated-string-initialization temporarily (Thorsten Leemhuis) diff --git a/patch-6.14-redhat.patch b/patch-6.14-redhat.patch index fad886e4a..10c7591cb 100644 --- a/patch-6.14-redhat.patch +++ b/patch-6.14-redhat.patch @@ -83,6 +83,7 @@ kernel/rh_messages.c | 414 ++++++++++++++++ kernel/rh_messages.h | 326 +++++++++++++ kernel/rh_waived.c | 104 ++++ + rust/Makefile | 1 + scripts/Makefile.extrawarn | 7 + scripts/mod/modpost.c | 8 + scripts/tags.sh | 2 + @@ -90,7 +91,7 @@ security/lockdown/Kconfig | 13 + security/lockdown/lockdown.c | 1 + security/security.c | 12 + - 92 files changed, 2788 insertions(+), 220 deletions(-) + 93 files changed, 2789 insertions(+), 220 deletions(-) diff --git a/Documentation/admin-guide/kernel-parameters.txt b/Documentation/admin-guide/kernel-parameters.txt index fb8752b42ec8..4e22c8f2f90e 100644 @@ -4685,6 +4686,18 @@ index 000000000000..84e22b1730cc + return 0; +} +late_initcall(__add_rh_flag); +diff --git a/rust/Makefile b/rust/Makefile +index 71a05a3c895a..3c3da7faebb3 100644 +--- a/rust/Makefile ++++ b/rust/Makefile +@@ -240,6 +240,7 @@ bindgen_skip_c_flags := -mno-fp-ret-in-387 -mpreferred-stack-boundary=% \ + -fzero-call-used-regs=% -fno-stack-clash-protection \ + -fno-inline-functions-called-once -fsanitize=bounds-strict \ + -fstrict-flex-arrays=% -fmin-function-alignment=% \ ++ -fzero-init-padding-bits=% \ + --param=% --param asan-% + + # Derived from `scripts/Makefile.clang`. diff --git a/scripts/Makefile.extrawarn b/scripts/Makefile.extrawarn index 1d13cecc7cc7..1433ae2e9e44 100644 --- a/scripts/Makefile.extrawarn diff --git a/sources b/sources index 5cbea4d26..876aead56 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ SHA512 (linux-6.13-9338-g05dbaf8dd8bf.tar.xz) = 8d85c64769602d4b063bc7b41c5b2c0411678516efac247413e3a0676b17e519e0e79244de3639f1335bfb46144201d4444b803e8c18dcd44bec8bd5dc85e406 -SHA512 (kernel-abi-stablelists-6.14.0.tar.xz) = f1c08adf74c70bc3f97dcbe0e64f4500092ffe7c9bdfbedd019ef422671974f5507090d4e6b2bee04c1ab32457e83e4968e036bcb192d59cedfb2b1e755f6cee +SHA512 (kernel-abi-stablelists-6.14.0.tar.xz) = c5bbfdfa5c32336a08deb0d008f708e55cafef2357ad48064d8d85b07925115e1a3e862bbc66f1b6bd0dbb9d2379b34d662950e50cddab221fd7bf2ab6a8ecd8 SHA512 (kernel-kabi-dw-6.14.0.tar.xz) = 38b18da67820a0955a6c9c4a1a06e80e6c92d29d3e6f6f4064e73b3ef83478d85f5a9b684890283450294586a43351d1825ba5f6859e9cbb8bf59a43eea67d97