# git rev-parse -q --verify dbd1a731d602d4ce9894a3339f692634d2092faa^{commit} dbd1a731d602d4ce9894a3339f692634d2092faa already have revision, skipping fetch # git checkout -q -f -B kisskb dbd1a731d602d4ce9894a3339f692634d2092faa # git clean -qxdf # < git log -1 # commit dbd1a731d602d4ce9894a3339f692634d2092faa # Author: Sandipan Das # Date: Wed May 27 08:33:42 2020 +0530 # # selftests: powerpc: Add test for execute-disabled pkeys # # Apart from read and write access, memory protection keys can # also be used for restricting execute permission of pages on # powerpc. This adds a test to verify if the feature works as # expected. # # Signed-off-by: Sandipan Das # Signed-off-by: Michael Ellerman # Link: https://lore.kernel.org/r/20200527030342.13712-1-sandipan@linux.ibm.com # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 dbd1a731d602d4ce9894a3339f692634d2092faa # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig+STRICT_RWX_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- powernv_defconfig # Added to kconfig CONFIG_RELOCATABLE=n # Added to kconfig CONFIG_STRICT_KERNEL_RWX=y # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig+STRICT_RWX_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig+STRICT_RWX_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:3953:warning: override: reassigning to symbol RELOCATABLE # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powernv_defconfig+STRICT_RWX_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/kernel/trace/ftrace.c: In function 'pid_open': /kisskb/src/kernel/trace/ftrace.c:7166:6: warning: 'seq_ops' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = seq_open(file, seq_ops); ^ /kisskb/src/kernel/trace/ftrace.c: In function 'pid_write': /kisskb/src/kernel/trace/ftrace.c:7244:8: warning: 'filtered_pids' may be used uninitialized in this function [-Wmaybe-uninitialized] ret = trace_pid_write(filtered_pids, &pid_list, ubuf, cnt); ^ /kisskb/src/kernel/trace/ftrace.c:7261:22: warning: 'other_pids' may be used uninitialized in this function [-Wmaybe-uninitialized] } else if (pid_list && !other_pids) { ^ Completed OK # rm -rf /kisskb/build/powerpc-next_powernv_defconfig+STRICT_RWX_powerpc-gcc5 # Build took: 0:03:13.595371