# git rev-parse -q --verify 727dbda16b83600379061c4ca8270ef3e2f51922^{commit} 727dbda16b83600379061c4ca8270ef3e2f51922 already have revision, skipping fetch # git checkout -q -f -B kisskb 727dbda16b83600379061c4ca8270ef3e2f51922 # git clean -qxdf # < git log -1 # commit 727dbda16b83600379061c4ca8270ef3e2f51922 # Merge: b03a4342142b 5f536ac6a5a7 # Author: Linus Torvalds # Date: Mon Aug 28 12:59:45 2023 -0700 # # Merge tag 'hardening-v6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux # # Pull hardening updates from Kees Cook: # "As has become normal, changes are scattered around the tree (either # explicitly maintainer Acked or for trivial stuff that went ignored): # # - Carve out the new CONFIG_LIST_HARDENED as a more focused subset of # CONFIG_DEBUG_LIST (Marco Elver) # # - Fix kallsyms lookup failure under Clang LTO (Yonghong Song) # # - Clarify documentation for CONFIG_UBSAN_TRAP (Jann Horn) # # - Flexible array member conversion not carried in other tree (Gustavo # A. R. Silva) # # - Various strlcpy() and strncpy() removals not carried in other trees # (Azeem Shaikh, Justin Stitt) # # - Convert nsproxy.count to refcount_t (Elena Reshetova) # # - Add handful of __counted_by annotations not carried in other trees, # as well as an LKDTM test # # - Fix build failure with gcc-plugins on GCC 14+ # # - Fix selftests to respect SKIP for signal-delivery tests # # - Fix CFI warning for paravirt callback prototype # # - Clarify documentation for seq_show_option_n() usage" # # * tag 'hardening-v6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: (23 commits) # LoadPin: Annotate struct dm_verity_loadpin_trusted_root_digest with __counted_by # kallsyms: Change func signature for cleanup_symbol_name() # kallsyms: Fix kallsyms_selftest failure # nsproxy: Convert nsproxy.count to refcount_t # integrity: Annotate struct ima_rule_opt_list with __counted_by # lkdtm: Add FAM_BOUNDS test for __counted_by # Compiler Attributes: counted_by: Adjust name and identifier expansion # um: refactor deprecated strncpy to memcpy # um: vector: refactor deprecated strncpy # alpha: Replace one-element array with flexible-array member # hardening: Move BUG_ON_DATA_CORRUPTION to hardening options # list: Introduce CONFIG_LIST_HARDENED # list_debug: Introduce inline wrappers for debug checks # compiler_types: Introduce the Clang __preserve_most function attribute # gcc-plugins: Rename last_stmt() for GCC 14+ # selftests/harness: Actually report SKIP for signal tests # x86/paravirt: Fix tlb_remove_table function callback prototype warning # EISA: Replace all non-returning strlcpy with strscpy # perf: Replace strlcpy with strscpy # um: Remove strlcpy declaration # ... # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 727dbda16b83600379061c4ca8270ef3e2f51922 # make -s -j 32 ARCH=sh O=/kisskb/build/linus_allmodconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # < make -s -j 32 ARCH=sh O=/kisskb/build/linus_allmodconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- help # make -s -j 32 ARCH=sh O=/kisskb/build/linus_allmodconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- olddefconfig # make -s -j 32 ARCH=sh O=/kisskb/build/linus_allmodconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1519:2: warning: #warning syscall clone3 not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:85: Warning: overflow in branch to __restore_all; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:357: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh2/../../entry-common.S:360: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence {standard input}: Assembler messages: {standard input}: Warning: end of file not at end of a line; newline inserted {standard input}:1091: Error: unknown opcode sh4-linux-gcc: internal compiler error: Segmentation fault signal terminated program cc1 Please submit a full bug report, with preprocessed source (by using -freport-bug). See for instructions. make[6]: *** [/kisskb/src/scripts/Makefile.build:243: drivers/net/pcs/pcs-xpcs.o] Error 4 make[5]: *** [/kisskb/src/scripts/Makefile.build:480: drivers/net/pcs] Error 2 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:480: drivers/net] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:480: drivers] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/Makefile:2032: .] Error 2 make[1]: *** [/kisskb/src/Makefile:234: __sub-make] Error 2 make: *** [Makefile:234: __sub-make] Error 2 Command 'make -s -j 32 ARCH=sh O=/kisskb/build/linus_allmodconfig_sh4-gcc13 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-13.1.0-nolibc/sh4-linux/bin/sh4-linux- ' returned non-zero exit status 2. # rm -rf /kisskb/build/linus_allmodconfig_sh4-gcc13 # Build took: 0:07:25.730474