# 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/riscv64-linux/bin/riscv64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux-ld --version # < git log --format=%s --max-count=1 8565d64430f8278bea38dab0a3ab60b4e11c71e4 # < make -s -j 48 ARCH=riscv O=/kisskb/build/linus_rv32_defconfig_riscv-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux- rv32_defconfig # < make -s -j 48 ARCH=riscv O=/kisskb/build/linus_rv32_defconfig_riscv-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux- help # make -s -j 48 ARCH=riscv O=/kisskb/build/linus_rv32_defconfig_riscv-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux- olddefconfig # make -s -j 48 ARCH=riscv O=/kisskb/build/linus_rv32_defconfig_riscv-gcc11 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-11.1.0-nolibc/riscv64-linux/bin/riscv64-linux- Completed OK # rm -rf /kisskb/build/linus_rv32_defconfig_riscv-gcc11 # Build took: 0:01:40.431302