# git rev-parse -q --verify d6bbd51587ecd173958453969964fb41140b1540^{commit} d6bbd51587ecd173958453969964fb41140b1540 already have revision, skipping fetch # git checkout -q -f -B kisskb d6bbd51587ecd173958453969964fb41140b1540 # git clean -qxdf # git log -1 commit d6bbd51587ecd173958453969964fb41140b1540 Merge: 50d0f78 c0ee554 Author: Linus Torvalds Date: Wed Jan 3 11:03:07 2018 -0800 Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace Pull pid allocation bug fix from Eric Biederman: "The replacement of the pid hash table and the pid bitmap with an idr resulted in an implementation that now fails more often in low memory situations. Allowing fuzzers to observe bad behavior from a memory allocation failure during pid allocation. This is a small change to fix this by making the kernel more robust in the case of error. The non-error paths are left alone so the only danger is to the already broken error path. I have manually injected errors and verified that this new error handling works" * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace: pid: Handle failure to allocate the first pid in a pid namespace # < /opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < git log --format=%s --max-count=1 d6bbd51587ecd173958453969964fb41140b1540 # < make -j 80 ARCH=x86_64 O=/home/kisskb/slave/build/linus_x86_64-randconfig_x86_64 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- randconfig KCONFIG_SEED=0x74DFE3DC # Added to kconfig CONFIG_STANDALONE=y # Added to kconfig CONFIG_PREVENT_FIRMWARE_BUILD=y # Added to kconfig CONFIG_CC_STACKPROTECTOR_STRONG=n # Added to kconfig CONFIG_GCC_PLUGINS=n # Added to kconfig CONFIG_GCC_PLUGIN_CYC_COMPLEXITY=n # Added to kconfig CONFIG_GCC_PLUGIN_SANCOV=n # Added to kconfig CONFIG_GCC_PLUGIN_LATENT_ENTROPY=n # yes \n | make -j 80 ARCH=x86_64 O=/home/kisskb/slave/build/linus_x86_64-randconfig_x86_64 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -j 80 ARCH=x86_64 O=/home/kisskb/slave/build/linus_x86_64-randconfig_x86_64 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- make[1]: Entering directory '/home/kisskb/slave/build/linus_x86_64-randconfig_x86_64' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig SYSTBL arch/x86/include/generated/asm/syscalls_32.h SYSHDR arch/x86/include/generated/asm/unistd_32_ia32.h SYSHDR arch/x86/include/generated/asm/unistd_64_x32.h SYSTBL arch/x86/include/generated/asm/syscalls_64.h SYSHDR arch/x86/include/generated/uapi/asm/unistd_32.h SYSHDR arch/x86/include/generated/uapi/asm/unistd_64.h SYSHDR arch/x86/include/generated/uapi/asm/unistd_x32.h HOSTCC scripts/basic/bin2c CHK include/config/kernel.release GEN ./Makefile WRAP arch/x86/include/generated/uapi/asm/bpf_perf_event.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h gcc: error trying to exec 'cc1plus': execvp: No such file or directory Cannot use CONFIG_GCC_PLUGINS: your gcc installation does not support plugins, perhaps the necessary headers are missing? scripts/Makefile.gcc-plugins:69: recipe for target 'gcc-plugins-check' failed make[1]: *** [gcc-plugins-check] Error 1 make[1]: *** Waiting for unfinished jobs.... DESCEND objtool HOSTCC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/fixdep.o HOSTLD /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/fixdep-in.o LINK /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/fixdep CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/builtin-check.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/builtin-orc.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/check.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/orc_gen.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/orc_dump.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/elf.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/special.o MKDIR /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/arch/x86/lib/ CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/objtool.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/libstring.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/str_error_r.o GEN /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/arch/x86/lib/inat-tables.c UPD include/config/kernel.release CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/exec-cmd.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/help.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/pager.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/parse-options.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/run-command.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/sigchain.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/subcmd-config.o CC /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/arch/x86/decode.o LD /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/arch/x86/objtool-in.o LD /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/libsubcmd-in.o AR /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/libsubcmd.a LD /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/objtool-in.o LINK /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64/tools/objtool/objtool make[1]: Leaving directory '/home/kisskb/slave/build/linus_x86_64-randconfig_x86_64' Makefile:146: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -j 80 ARCH=x86_64 O=/home/kisskb/slave/build/linus_x86_64-randconfig_x86_64 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2 # rm -rf /home/kisskb/slave/build/linus_x86_64-randconfig_x86_64 # Build took: 0:00:08.283287