# git rev-parse -q --verify 8565d64430f8278bea38dab0a3ab60b4e11c71e4^{commit} 8565d64430f8278bea38dab0a3ab60b4e11c71e4 already have revision, skipping fetch # git checkout -q -f -B kisskb 8565d64430f8278bea38dab0a3ab60b4e11c71e4 # git clean -qxdf # < git log -1 # commit 8565d64430f8278bea38dab0a3ab60b4e11c71e4 # Merge: d0858cbdef50 fad278388e01 # Author: Linus Torvalds # Date: Mon Mar 21 19:58:27 2022 -0700 # # Merge tag 'bounds-fixes-v5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux # # Pull bounds fixes from Kees Cook: # "These are a handful of buffer and array bounds fixes that I've been # carrying in preparation for the coming memcpy improvements and the # enabling of '-Warray-bounds' globally. # # There are additional similar fixes in other maintainer's trees, but # these ended up getting carried by me. :)" # # * tag 'bounds-fixes-v5.18-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/kees/linux: # media: omap3isp: Use struct_group() for memcpy() region # tpm: vtpm_proxy: Check length to avoid compiler warning # alpha: Silence -Warray-bounds warnings # m68k: cmpxchg: Dereference matching size # intel_th: msu: Use memset_startat() for clearing hw header # KVM: x86: Replace memset() "optimization" with normal per-field writes # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 8565d64430f8278bea38dab0a3ab60b4e11c71e4 # < make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # Added to kconfig CONFIG_BPF_PRELOAD=n # Added to kconfig # < make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:6988:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:6990:warning: override: reassigning to symbol GCC_PLUGINS # make -s -j 48 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/x86_64-linux/bin/x86_64-linux- vmlinux.o: warning: objtool: enter_from_user_mode()+0x19: call to test_bit() leaves .noinstr.text section vmlinux.o: warning: objtool: syscall_enter_from_user_mode()+0x1d: call to test_bit() leaves .noinstr.text section vmlinux.o: warning: objtool: syscall_enter_from_user_mode_prepare()+0x19: call to test_bit() leaves .noinstr.text section vmlinux.o: warning: objtool: irqentry_enter_from_user_mode()+0x19: call to test_bit() leaves .noinstr.text section Completed OK # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc11 # Build took: 0:06:30.862764