# git rev-parse -q --verify 26bc672134241a080a83b2ab9aa8abede8d30e1c^{commit} 26bc672134241a080a83b2ab9aa8abede8d30e1c already have revision, skipping fetch # git checkout -q -f -B kisskb 26bc672134241a080a83b2ab9aa8abede8d30e1c # git clean -qxdf # < git log -1 # commit 26bc672134241a080a83b2ab9aa8abede8d30e1c # Merge: 7111fa1151e3 fa729c4df558 # Author: Linus Torvalds # Date: Tue Nov 5 09:44:02 2019 -0800 # # Merge tag 'for-linus-2019-11-05' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux # # Pull clone3 stack argument update from Christian Brauner: # "This changes clone3() to do basic stack validation and to set up the # stack depending on whether or not it is growing up or down. # # With clone3() the expectation is now very simply that the .stack # argument points to the lowest address of the stack and that # .stack_size specifies the initial stack size. This is diferent from # legacy clone() where the "stack" argument had to point to the lowest # or highest address of the stack depending on the architecture. # # clone3() was released with 5.3. Currently, it is not documented and # very unclear to userspace how the stack and stack_size argument have # to be passed. After talking to glibc folks we concluded that changing # clone3() to determine stack direction and doing basic validation is # the right course of action. # # Note, this is a potentially user visible change. In the very unlikely # case, that it breaks someone's use-case we will revert. (And then e.g. # place the new behavior under an appropriate flag.) # # Note that passing an empty stack will continue working just as before. # Breaking someone's use-case is very unlikely. Neither glibc nor musl # currently expose a wrapper for clone3(). There is currently also no # real motivation for anyone to use clone3() directly. First, because # using clone{3}() with stacks requires some assembly (see glibc and # musl). Second, because it does not provide features that legacy # clone() doesn't. New features for clone3() will first happen in v5.5 # which is why v5.4 is still a good time to try and make that change now # and backport it to v5.3. # # I did a codesearch on https://codesearch.debian.net, github, and # gitlab and could not find any software currently relying directly on # clone3(). I expect this to change once we land CLONE_CLEAR_SIGHAND # which was a request coming from glibc at which point they'll likely # start using it" # # * tag 'for-linus-2019-11-05' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux: # clone3: validate stack arguments # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 26bc672134241a080a83b2ab9aa8abede8d30e1c # < make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:800:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:797:68: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2591:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1852:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:338:21: note: 'pdeo' was declared here /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1496:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:248:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:228:19: note: 'i' was declared here /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:625:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:330.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc397ac) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) INFO: Uncompressed kernel (size 0xc28fe4) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xd00000) Image Name: Linux-5.4.0-rc6-g26bc67213424 Created: Wed Nov 6 06:38:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5913571 Bytes = 5774.97 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.4.0-rc6-g26bc67213424 Created: Wed Nov 6 06:38:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5913888 Bytes = 5775.28 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.4.0-rc6-g26bc67213424 Created: Wed Nov 6 06:38:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5910365 Bytes = 5771.84 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-g26bc67213424 Created: Wed Nov 6 06:38:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5913907 Bytes = 5775.30 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-g26bc67213424 Created: Wed Nov 6 06:38:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5914819 Bytes = 5776.19 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-g26bc67213424 Created: Wed Nov 6 06:38:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5913553 Bytes = 5774.95 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-g26bc67213424 Created: Wed Nov 6 06:38:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5912321 Bytes = 5773.75 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-g26bc67213424 Created: Wed Nov 6 06:38:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5913906 Bytes = 5775.30 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.4.0-rc6-g26bc67213424 Created: Wed Nov 6 06:38:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5911026 Bytes = 5772.49 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-g26bc67213424 Created: Wed Nov 6 06:38:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5913887 Bytes = 5775.28 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.4.0-rc6-g26bc67213424 Created: Wed Nov 6 06:38:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5910458 Bytes = 5771.93 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-g26bc67213424 Created: Wed Nov 6 06:38:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5913553 Bytes = 5774.95 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-g26bc67213424 Created: Wed Nov 6 06:38:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5913887 Bytes = 5775.28 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-g26bc67213424 Created: Wed Nov 6 06:38:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5914758 Bytes = 5776.13 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002a8 Image Name: Linux-5.4.0-rc6-g26bc67213424 Created: Wed Nov 6 06:38:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5910405 Bytes = 5771.88 KiB = 5.64 MiB Load Address: 00d00000 Entry Point: 00d002e8 Image Name: Linux-5.4.0-rc6-g26bc67213424 Created: Wed Nov 6 06:38:40 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5881256 Bytes = 5743.41 KiB = 5.61 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 # Build took: 0:01:06.246807