# 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/sh4-linux/bin/sh4-linux-gcc --version # < git log --format=%s --max-count=1 17dec0a949153d9ac00760ba2f5b78cb583e995f # < make -s -j 10 ARCH=sh O=/kisskb/build/linus_shx3_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- shx3_defconfig # make -s -j 10 ARCH=sh O=/kisskb/build/linus_shx3_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h :1317:2: warning: #warning syscall pkey_mprotect not implemented [-Wcpp] :1320:2: warning: #warning syscall pkey_alloc not implemented [-Wcpp] :1323:2: warning: #warning syscall pkey_free not implemented [-Wcpp] :1326:2: warning: #warning syscall statx not implemented [-Wcpp] /kisskb/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:389: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh4/../sh3/../../entry-common.S:392: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/mm/vmstat.c: In function 'sysctl_vm_numa_stat_handler': /kisskb/src/mm/vmstat.c:89:5: warning: 'oldval' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/kernel/cgroup/cgroup-v1.c:1268:20: warning: 'root' 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:2497: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:1819:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/mpage.c: In function 'do_mpage_readpage': /kisskb/src/fs/mpage.c:316:1: warning: the frame size of 1088 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/fs/mpage.c: In function '__mpage_writepage': /kisskb/src/fs/mpage.c:676:1: warning: the frame size of 1152 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1440:5: warning: 'page' 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/kernel/rcu/srcutree.c: In function 'init_srcu_struct_fields': /kisskb/src/kernel/rcu/srcutree.c:146:32: warning: 'levelspread[]' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/rcu/srcutree.c:94:6: note: 'levelspread[]' was declared here /kisskb/src/fs/ext4/readpage.c: In function 'ext4_mpage_readpages': /kisskb/src/fs/ext4/readpage.c:294:1: warning: the frame size of 1200 bytes is larger than 1024 bytes [-Wframe-larger-than=] /kisskb/src/drivers/sh/clk/cpg.c: In function 'r8': /kisskb/src/drivers/sh/clk/cpg.c:41:2: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r16': /kisskb/src/drivers/sh/clk/cpg.c:46:2: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:30:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r32': /kisskb/src/drivers/sh/clk/cpg.c:51:2: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:32:21: note: expected 'void *' but argument is of type 'const void *' Kernel: arch/sh/boot/zImage is ready Completed OK # rm -rf /kisskb/build/linus_shx3_defconfig_sh4 # Build took: 0:00:48.530877