# git rev-parse -q --verify f8ad8187c3b536ee2b10502a8340c014204a1af0^{commit} f8ad8187c3b536ee2b10502a8340c014204a1af0 already have revision, skipping fetch # git checkout -q -f -B kisskb f8ad8187c3b536ee2b10502a8340c014204a1af0 # git clean -qxdf # < git log -1 # commit f8ad8187c3b536ee2b10502a8340c014204a1af0 # Author: Johannes Berg # Date: Mon Jan 25 10:16:15 2021 +0100 # # fs/pipe: allow sendfile() to pipe again # # After commit 36e2c7421f02 ("fs: don't allow splice read/write # without explicit ops") sendfile() could no longer send data # from a real file to a pipe, breaking for example certain cgit # setups (e.g. when running behind fcgiwrap), because in this # case cgit will try to do exactly this: sendfile() to a pipe. # # Fix this by using iter_file_splice_write for the splice_write # method of pipes, as suggested by Christoph. # # Cc: stable@vger.kernel.org # Fixes: 36e2c7421f02 ("fs: don't allow splice read/write without explicit ops") # Suggested-by: Christoph Hellwig # Reviewed-by: Christoph Hellwig # Tested-by: Johannes Berg # Signed-off-by: Johannes Berg # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 f8ad8187c3b536ee2b10502a8340c014204a1af0 # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # < make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig # make -s -j 32 ARCH=powerpc O=/kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.9 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-4.9.4-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/block/genhd.c: In function 'diskstats_show': /kisskb/src/block/genhd.c:1520:1: warning: the frame size of 1160 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ /kisskb/src/lib/zstd/compress.c: In function 'ZSTD_compressBlock_doubleFast': /kisskb/src/lib/zstd/compress.c:1393:1: warning: the frame size of 1584 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ INFO: Uncompressed kernel (size 0x6099d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) INFO: Uncompressed kernel (size 0x6099d4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x700000) Image Name: Linux-5.11.0-rc5-gf8ad8187c3b5 Created: Tue Jan 26 08:10:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101102 Bytes = 3028.42 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 00701488 Image Name: Linux-5.11.0-rc5-gf8ad8187c3b5 Created: Tue Jan 26 08:10:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101070 Bytes = 3028.39 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 007014a8 Image Name: Linux-5.11.0-rc5-gf8ad8187c3b5 Created: Tue Jan 26 08:10:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101049 Bytes = 3028.37 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 007014a8 Image Name: Linux-5.11.0-rc5-gf8ad8187c3b5 Created: Tue Jan 26 08:10:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3100938 Bytes = 3028.26 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 007001b8 Image Name: Linux-5.11.0-rc5-gf8ad8187c3b5 Created: Tue Jan 26 08:10:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101042 Bytes = 3028.36 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 007014b8 Image Name: Linux-5.11.0-rc5-gf8ad8187c3b5 Created: Tue Jan 26 08:10:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101000 Bytes = 3028.32 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 007000c4 Image Name: Linux-5.11.0-rc5-gf8ad8187c3b5 Created: Tue Jan 26 08:10:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101105 Bytes = 3028.42 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 007014a0 Image Name: Linux-5.11.0-rc5-gf8ad8187c3b5 Created: Tue Jan 26 08:10:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101007 Bytes = 3028.33 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 00701498 Image Name: Linux-5.11.0-rc5-gf8ad8187c3b5 Created: Tue Jan 26 08:10:49 2021 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 3101075 Bytes = 3028.39 KiB = 2.96 MiB Load Address: 00700000 Entry Point: 007014a8 Completed OK # rm -rf /kisskb/build/linus_ppc44x_defconfig_powerpc-gcc4.9 # Build took: 0:01:08.261859