# git rev-parse -q --verify 78807804b0854ecb7dc6906e379fc688aca36456^{commit} 78807804b0854ecb7dc6906e379fc688aca36456 already have revision, skipping fetch # git checkout -q -f -B kisskb 78807804b0854ecb7dc6906e379fc688aca36456 # git clean -qxdf # < git log -1 # commit 78807804b0854ecb7dc6906e379fc688aca36456 # Author: Sandipan Das # Date: Thu Jul 16 16:33:47 2020 +0530 # # selftests/powerpc: Add test for pkey siginfo verification # # Commit c46241a370a61 ("powerpc/pkeys: Check vma before # returning key fault error to the user") fixes a bug which # causes the kernel to set the wrong pkey in siginfo when a # pkey fault occurs after two competing threads that have # allocated different pkeys, one fully permissive and the # other restrictive, attempt to protect a common page at the # same time. This adds a test to detect the bug. # # Signed-off-by: Sandipan Das # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/af137a935684955a60f13de2eb4ca358284f3d7c.1594897099.git.sandipan@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/alpha-linux/bin/alpha-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/alpha-linux/bin/alpha-linux-ld --version # < git log --format=%s --max-count=1 78807804b0854ecb7dc6906e379fc688aca36456 # < make -s -j 48 ARCH=alpha O=/kisskb/build/powerpc-next_alpha-defconfig_alpha-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/alpha-linux/bin/alpha-linux- defconfig # < make -s -j 48 ARCH=alpha O=/kisskb/build/powerpc-next_alpha-defconfig_alpha-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/alpha-linux/bin/alpha-linux- help # make -s -j 48 ARCH=alpha O=/kisskb/build/powerpc-next_alpha-defconfig_alpha-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/alpha-linux/bin/alpha-linux- olddefconfig # make -s -j 48 ARCH=alpha O=/kisskb/build/powerpc-next_alpha-defconfig_alpha-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/alpha-linux/bin/alpha-linux- :1511:2: warning: #warning syscall clone3 not implemented [-Wcpp] WARNING: modpost: "saved_config" [vmlinux] is COMMON symbol Kernel arch/alpha/boot/vmlinux.gz is ready Completed OK # rm -rf /kisskb/build/powerpc-next_alpha-defconfig_alpha-gcc4.9 # Build took: 0:00:53.967152