# git rev-parse -q --verify 5450e8a316a64cddcbc15f90733ebc78aa736545^{commit} 5450e8a316a64cddcbc15f90733ebc78aa736545 already have revision, skipping fetch # git checkout -q -f -B kisskb 5450e8a316a64cddcbc15f90733ebc78aa736545 # git clean -qxdf # < git log -1 # commit 5450e8a316a64cddcbc15f90733ebc78aa736545 # Merge: 29cd581b5949 172bb24a4f48 # Author: Linus Torvalds # Date: Wed Jul 10 22:17:21 2019 -0700 # # Merge tag 'pidfd-updates-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux # # Pull pidfd updates from Christian Brauner: # "This adds two main features. # # - First, it adds polling support for pidfds. This allows process # managers to know when a (non-parent) process dies in a race-free # way. # # The notification mechanism used follows the same logic that is # currently used when the parent of a task is notified of a child's # death. With this patchset it is possible to put pidfds in an # {e}poll loop and get reliable notifications for process (i.e. # thread-group) exit. # # - The second feature compliments the first one by making it possible # to retrieve pollable pidfds for processes that were not created # using CLONE_PIDFD. # # A lot of processes get created with traditional PID-based calls # such as fork() or clone() (without CLONE_PIDFD). For these # processes a caller can currently not create a pollable pidfd. This # is a problem for Android's low memory killer (LMK) and service # managers such as systemd. # # Both patchsets are accompanied by selftests. # # It's perhaps worth noting that the work done so far and the work done # in this branch for pidfd_open() and polling support do already see # some adoption: # # - Android is in the process of backporting this work to all their LTS # kernels [1] # # - Service managers make use of pidfd_send_signal but will need to # wait until we enable waiting on pidfds for full adoption. # # - And projects I maintain make use of both pidfd_send_signal and # CLONE_PIDFD [2] and will use polling support and pidfd_open() too" # # [1] https://android-review.googlesource.com/q/topic:%22pidfd+polling+support+4.9+backport%22 # https://android-review.googlesource.com/q/topic:%22pidfd+polling+support+4.14+backport%22 # https://android-review.googlesource.com/q/topic:%22pidfd+polling+support+4.19+backport%22 # # [2] https://github.com/lxc/lxc/blob/aab6e3eb73c343231cdde775db938994fc6f2803/src/lxc/start.c#L1753 # # * tag 'pidfd-updates-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux: # tests: add pidfd_open() tests # arch: wire-up pidfd_open() # pid: add pidfd_open() # pidfd: add polling selftests # pidfd: add polling support # < /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 5450e8a316a64cddcbc15f90733ebc78aa736545 # < make -s -j 8 ARCH=powerpc O=/kisskb/build/linus_pmac32_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- pmac32_defconfig # make -s -j 8 ARCH=powerpc O=/kisskb/build/linus_pmac32_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:194:16: warning: 'old' 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/sound/ppc/awacs.c: In function 'snd_pmac_awacs_init': /kisskb/src/include/sound/control.h:208:2: warning: 'speaker_vol' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/ppc/awacs.c:873:36: note: 'speaker_vol' was declared here /kisskb/src/kernel/futex.c: In function 'do_futex': /kisskb/src/kernel/futex.c:1676:3: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/futex.c:1651:6: note: 'oldval' was declared here /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:331:21: note: 'pdeo' was declared here /kisskb/src/fs/nfsd/nfs4xdr.c: In function 'nfsd4_encode_components_esc': /kisskb/src/fs/nfsd/nfs4xdr.c:2065:9: warning: 'str' may be used uninitialized in this function [-Wuninitialized] /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/net/mac80211/mlme.c: In function 'ieee80211_rx_mgmt_beacon': /kisskb/src/net/mac80211/mlme.c:1576:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c:1533:6: note: 'pwr_level_cisco' was declared here /kisskb/src/drivers/net/wireless/broadcom/b43/phy_n.c: In function 'b43_nphy_rf_ctl_override_rev7': /kisskb/src/drivers/net/wireless/broadcom/b43/phy_n.c:190:21: warning: 'val_addr' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c: In function 'tun_get_user': /kisskb/src/drivers/net/tun.c:1832:30: warning: 'copylen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/tun.c:1745:46: warning: 'linear' 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:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here /kisskb/src/drivers/usb/core/devio.c: In function 'async_completed': /kisskb/src/drivers/usb/core/devio.c:616:23: warning: 'errno' may be used uninitialized in this function [-Wuninitialized] INFO: Uncompressed kernel (size 0x92e4f8) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xa00000) Completed OK # rm -rf /kisskb/build/linus_pmac32_defconfig_powerpc-gcc4.6 # Build took: 0:02:05.366156