# git rev-parse -q --verify 17dec0a949153d9ac00760ba2f5b78cb583e995f^{commit} 17dec0a949153d9ac00760ba2f5b78cb583e995f already have revision, skipping fetch # git checkout -q -f -B kisskb 17dec0a949153d9ac00760ba2f5b78cb583e995f # git clean -qxdf # < git log -1 # commit 17dec0a949153d9ac00760ba2f5b78cb583e995f # Merge: d92cd81 2236d4d # Author: Linus Torvalds # Date: Tue Apr 3 19:15:32 2018 -0700 # # Merge branch 'userns-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace # # Pull namespace updates from Eric Biederman: # "There was a lot of work this cycle fixing bugs that were discovered # after the merge window and getting everything ready where we can # reasonably support fully unprivileged fuse. The bug fixes you already # have and much of the unprivileged fuse work is coming in via other # trees. # # Still left for fully unprivileged fuse is figuring out how to cleanly # handle .set_acl and .get_acl in the legacy case, and properly handling # of evm xattrs on unprivileged mounts. # # Included in the tree is a cleanup from Alexely that replaced a linked # list with a statically allocated fix sized array for the pid caches, # which simplifies and speeds things up. # # Then there is are some cleanups and fixes for the ipc namespace. The # motivation was that in reviewing other code it was discovered that # access ipc objects from different pid namespaces recorded pids in such # a way that when asked the wrong pids were returned. In the worst case # there has been a measured 30% performance impact for sysvipc # semaphores. Other test cases showed no measurable performance impact. # Manfred Spraul and Davidlohr Bueso who tend to work on sysvipc # performance both gave the nod that this is good enough. # # Casey Schaufler and James Morris have given their approval to the LSM # side of the changes. # # I simplified the types and the code dealing with sysvipc to pass just # kern_ipc_perm for all three types of ipc. Which reduced the header # dependencies throughout the kernel and simplified the lsm code. # # Which let me work on the pid fixes without having to worry about # trivial changes causing complete kernel recompiles" # # * 'userns-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace: # ipc/shm: Fix pid freeing. # ipc/shm: fix up for struct file no longer being available in shm.h # ipc/smack: Tidy up from the change in type of the ipc security hooks # ipc: Directly call the security hook in ipc_ops.associate # ipc/sem: Fix semctl(..., GETPID, ...) between pid namespaces # ipc/msg: Fix msgctl(..., IPC_STAT, ...) between pid namespaces # ipc/shm: Fix shmctl(..., IPC_STAT, ...) between pid namespaces. # ipc/util: Helpers for making the sysvipc operations pid namespace aware # ipc: Move IPCMNI from include/ipc.h into ipc/util.h # msg: Move struct msg_queue into ipc/msg.c # shm: Move struct shmid_kernel into ipc/shm.c # sem: Move struct sem and struct sem_array into ipc/sem.c # msg/security: Pass kern_ipc_perm not msg_queue into the msg_queue security hooks # shm/security: Pass kern_ipc_perm not shmid_kernel into the shm security hooks # sem/security: Pass kern_ipc_perm not sem_array into the sem security hooks # pidns: simpler allocation of pid_* caches # < /opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-gcc --version # < git log --format=%s --max-count=1 17dec0a949153d9ac00760ba2f5b78cb583e995f # < make -s -j 10 ARCH=arm O=/kisskb/build/linus_bcm2835_defconfig_arm CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- bcm2835_defconfig # make -s -j 10 ARCH=arm O=/kisskb/build/linus_bcm2835_defconfig_arm CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi- /kisskb/src/ipc/shm.c: In function 'ksys_shmdt': /kisskb/src/ipc/shm.c:1607:59: warning: 'file' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/arm/kernel/patch.c: In function '__patch_text_real': /kisskb/src/arch/arm/include/asm/irqflags.h:171:2: warning: 'flags' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/arch/arm/kernel/patch.c:61:16: note: 'flags' was declared here /kisskb/src/net/core/gen_stats.c: In function '__gnet_stats_copy_basic': /kisskb/src/net/core/gen_stats.c:149:19: warning: 'seq' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/core/flow_dissector.c: In function '__skb_flow_dissect': /kisskb/src/net/core/flow_dissector.c:789:7: warning: 'vlan' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/core/dev.c: In function 'validate_xmit_skb_list': /kisskb/src/net/core/dev.c:3176:15: warning: 'tail' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/dma-buf/reservation.c: In function 'reservation_object_add_shared_fence': /kisskb/src/drivers/dma-buf/reservation.c:207:36: warning: 'k' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/dma-buf/reservation.c:160:17: note: 'k' was declared here /kisskb/src/lib/rhashtable.c: In function 'rht_deferred_worker': /kisskb/src/lib/rhashtable.c:269:2: warning: 'next' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/lib/rhashtable.c:234:28: note: 'next' was declared here /kisskb/src/mm/ksm.c: In function 'stable_node_dup': /kisskb/src/mm/ksm.c:1358:15: warning: 'found_rmap_hlist_len' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpio/gpiolib-of.c: In function 'of_gpiochip_add': /kisskb/src/drivers/gpio/gpiolib-of.c:392:8: warning: 'dflags' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpio/gpiolib-of.c:378:19: note: 'dflags' was declared here /kisskb/src/drivers/gpio/gpiolib-of.c:392:8: warning: 'lflags' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/gpio/gpiolib-of.c:377:25: note: 'lflags' was declared here /kisskb/src/drivers/gpu/drm/drm_dp_mst_topology.c: In function 'drm_dp_sideband_msg_build': /kisskb/src/drivers/gpu/drm/drm_dp_mst_topology.c:364:23: warning: 'hdrlen' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/lib/mpi/mpicoder.c: In function 'mpi_read_raw_from_sgl': /kisskb/src/lib/mpi/mpicoder.c:336:12: warning: 'buff' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/time/tick-sched.c: In function 'tick_nohz_idle_exit': /kisskb/src/kernel/time/tick-sched.c:628:17: warning: 'now' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/time/tick-sched.c:1035:10: note: 'now' was declared here /kisskb/src/net/mac80211/mlme.c: In function 'ieee80211_rx_mgmt_beacon': /kisskb/src/net/mac80211/mlme.c:1352:3: warning: 'pwr_level_cisco' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/mac80211/mlme.c:1309:6: note: 'pwr_level_cisco' was declared here /kisskb/src/drivers/perf/arm_pmu_platform.c: In function 'arm_pmu_device_probe': /kisskb/src/drivers/perf/arm_pmu_platform.c:234:5: warning: 'err' may be used uninitialized in this function [-Wuninitialized] Completed OK # rm -rf /kisskb/build/linus_bcm2835_defconfig_arm # Build took: 0:01:28.195457