# git rev-parse -q --verify 738a7832d21e3d911fcddab98ce260b79010b461^{commit} 738a7832d21e3d911fcddab98ce260b79010b461 already have revision, skipping fetch # git checkout -q -f -B kisskb 738a7832d21e3d911fcddab98ce260b79010b461 # git clean -qxdf # < git log -1 # commit 738a7832d21e3d911fcddab98ce260b79010b461 # Author: Christian Brauner # Date: Thu Apr 18 12:18:39 2019 +0200 # # signal: use fdget() since we don't allow O_PATH # # As stated in the original commit for pidfd_send_signal() we don't allow # to signal processes through O_PATH file descriptors since it is # semantically equivalent to a write on the pidfd. # # We already correctly error out right now and return EBADF if an O_PATH # fd is passed. This is because we use file->f_op to detect whether a # pidfd is passed and O_PATH fds have their file->f_op set to empty_fops # in do_dentry_open() and thus fail the test. # # Thus, there is no regression. It's just semantically correct to use # fdget() and return an error right from there instead of taking a # reference and returning an error later. # # Signed-off-by: Christian Brauner # Acked-by: Oleg Nesterov # Cc: Arnd Bergmann # Cc: "Eric W. Biederman" # Cc: Kees Cook # Cc: Thomas Gleixner # Cc: Jann Horn # Cc: David Howells # Cc: "Michael Kerrisk (man-pages)" # Cc: Andy Lutomirsky # Cc: Andrew Morton # Cc: Oleg Nesterov # Cc: Aleksa Sarai # Cc: Al Viro # Signed-off-by: Linus Torvalds # < /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 738a7832d21e3d911fcddab98ce260b79010b461 # < make -s -j 120 ARCH=powerpc O=/kisskb/build/linus-rand_randconfig+ppc64le_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- randconfig KCONFIG_SEED=0xC4075B3C # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_CPU_BIG_ENDIAN=n # Added to kconfig CONFIG_CPU_LITTLE_ENDIAN=y # Added to kconfig CONFIG_PPC64=y # Added to kconfig CONFIG_PPC_BOOK3E_64=n # Added to kconfig CONFIG_PPC_BOOK3S_64=y # Added to kconfig CONFIG_PPC_DISABLE_WERROR=y # Added to kconfig CONFIG_SECTION_MISMATCH_WARN_ONLY=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_LD_HEAD_STUB_CATCH=y # yes \n | make -s -j 120 ARCH=powerpc O=/kisskb/build/linus-rand_randconfig+ppc64le_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 120 ARCH=powerpc O=/kisskb/build/linus-rand_randconfig+ppc64le_ppc64le-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- :1478:2: warning: #warning syscall pidfd_send_signal not implemented [-Wcpp] :1481:2: warning: #warning syscall io_uring_setup not implemented [-Wcpp] :1484:2: warning: #warning syscall io_uring_enter not implemented [-Wcpp] :1487:2: warning: #warning syscall io_uring_register not implemented [-Wcpp] /kisskb/src/fs/jffs2/xattr.c: In function 'jffs2_build_xattr_subsystem': /kisskb/src/fs/jffs2/xattr.c:887:1: warning: the frame size of 1168 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/drivers/tty/serial/sc16is7xx.c: In function 'sc16is7xx_init': /kisskb/src/drivers/tty/serial/sc16is7xx.c:1523:1: warning: label 'err_spi' defined but not used [-Wunused-label] err_spi: ^ WARNING: vmlinux.o(.text+0x2c84): Section mismatch in reference from the variable __boot_from_prom to the function .init.text:prom_init() The function __boot_from_prom() references the function __init prom_init(). This is often because __boot_from_prom lacks a __init annotation or the annotation of prom_init is wrong. WARNING: vmlinux.o(.text+0x2f34): Section mismatch in reference from the variable start_here_multiplatform to the function .init.text:early_setup() The function start_here_multiplatform() references the function __init early_setup(). This is often because start_here_multiplatform lacks a __init annotation or the annotation of early_setup is wrong. WARNING: vmlinux.o(.text+0x2f68): Section mismatch in reference from the variable start_here_common to the function .init.text:start_kernel() The function start_here_common() references the function __init start_kernel(). This is often because start_here_common lacks a __init annotation or the annotation of start_kernel is wrong. Completed OK # rm -rf /kisskb/build/linus-rand_randconfig+ppc64le_ppc64le-gcc5 # Build took: 0:05:14.564625