# git rev-parse -q --verify f4a0318f278d98d9492916722e85f258c2221f88^{commit} f4a0318f278d98d9492916722e85f258c2221f88 already have revision, skipping fetch # git checkout -q -f -B kisskb f4a0318f278d98d9492916722e85f258c2221f88 # git clean -qxdf # < git log -1 # commit f4a0318f278d98d9492916722e85f258c2221f88 # Author: Xiu Jianfeng # Date: Fri Jul 1 16:24:35 2022 +0800 # # powerpc: add support for syscall stack randomization # # Add support for adding a random offset to the stack while handling # syscalls. This patch uses mftb() instead of get_random_int() for better # performance. # # In order to avoid unconditional stack canaries on syscall entry (due to # the use of alloca()), also disable stack protector to avoid triggering # needless checks and slowing down the entry path. As there is no general # way to control stack protector coverage with a function attribute, this # must be disabled at the compilation unit level. # # Signed-off-by: Xiu Jianfeng # Reviewed-by: Kees Cook # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20220701082435.126596-3-xiujianfeng@huawei.com # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-gcc --version # < /opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux-ld --version # < git log --format=%s --max-count=1 f4a0318f278d98d9492916722e85f258c2221f88 # < make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- defconfig # < make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- help # make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- olddefconfig # make -s -j 32 ARCH=mips O=/kisskb/build/powerpc-next_mips-defconfig_mipsel-gcc5 CROSS_COMPILE=/opt/cross/kisskb/br-mipsel-o32-full-2016.08-613-ge98b4dd/bin/mipsel-linux- /kisskb/src/arch/mips/boot/dts/img/boston.dts:128.19-178.5: Warning (pci_device_reg): /pci@14000000/pci2_root@0,0,0: PCI unit address format error, expected "0,0" Completed OK # rm -rf /kisskb/build/powerpc-next_mips-defconfig_mipsel-gcc5 # Build took: 0:01:11.089075