# git rev-parse -q --verify 35ce8ae9ae2e471f92759f9d6880eab42cc1c3b6^{commit} 35ce8ae9ae2e471f92759f9d6880eab42cc1c3b6 already have revision, skipping fetch # git checkout -q -f -B kisskb 35ce8ae9ae2e471f92759f9d6880eab42cc1c3b6 # git clean -qxdf # < git log -1 # commit 35ce8ae9ae2e471f92759f9d6880eab42cc1c3b6 # Merge: 6661224e66f0 a403df29789b # Author: Linus Torvalds # Date: Mon Jan 17 05:49:30 2022 +0200 # # Merge branch 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace # # Pull signal/exit/ptrace updates from Eric Biederman: # "This set of changes deletes some dead code, makes a lot of cleanups # which hopefully make the code easier to follow, and fixes bugs found # along the way. # # The end-game which I have not yet reached yet is for fatal signals # that generate coredumps to be short-circuit deliverable from # complete_signal, for force_siginfo_to_task not to require changing # userspace configured signal delivery state, and for the ptrace stops # to always happen in locations where we can guarantee on all # architectures that the all of the registers are saved and available on # the stack. # # Removal of profile_task_ext, profile_munmap, and profile_handoff_task # are the big successes for dead code removal this round. # # A bunch of small bug fixes are included, as most of the issues # reported were small enough that they would not affect bisection so I # simply added the fixes and did not fold the fixes into the changes # they were fixing. # # There was a bug that broke coredumps piped to systemd-coredump. I # dropped the change that caused that bug and replaced it entirely with # something much more restrained. Unfortunately that required some # rebasing. # # Some successes after this set of changes: There are few enough calls # to do_exit to audit in a reasonable amount of time. The lifetime of # struct kthread now matches the lifetime of struct task, and the # pointer to struct kthread is no longer stored in set_child_tid. The # flag SIGNAL_GROUP_COREDUMP is removed. The field group_exit_task is # removed. Issues where task->exit_code was examined with # signal->group_exit_code should been examined were fixed. # # There are several loosely related changes included because I am # cleaning up and if I don't include them they will probably get lost. # # The original postings of these changes can be found at: # https://lkml.kernel.org/r/87a6ha4zsd.fsf@email.froward.int.ebiederm.org # https://lkml.kernel.org/r/87bl1kunjj.fsf@email.froward.int.ebiederm.org # https://lkml.kernel.org/r/87r19opkx1.fsf_-_@email.froward.int.ebiederm.org # # I trimmed back the last set of changes to only the obviously correct # once. Simply because there was less time for review than I had hoped" # # * 'signal-for-v5.17' of git://git.kernel.org/pub/scm/linux/kernel/git/ebiederm/user-namespace: (44 commits) # ptrace/m68k: Stop open coding ptrace_report_syscall # ptrace: Remove unused regs argument from ptrace_report_syscall # ptrace: Remove second setting of PT_SEIZED in ptrace_attach # taskstats: Cleanup the use of task->exit_code # exit: Use the correct exit_code in /proc//stat # exit: Fix the exit_code for wait_task_zombie # exit: Coredumps reach do_group_exit # exit: Remove profile_handoff_task # exit: Remove profile_task_exit & profile_munmap # signal: clean up kernel-doc comments # signal: Remove the helper signal_group_exit # signal: Rename group_exit_task group_exec_task # coredump: Stop setting signal->group_exit_task # signal: Remove SIGNAL_GROUP_COREDUMP # signal: During coredumps set SIGNAL_GROUP_EXIT in zap_process # signal: Make coredump handling explicit in complete_signal # signal: Have prepare_signal detect coredumps using signal->core_state # signal: Have the oom killer detect coredumps using signal->core_state # exit: Move force_uaccess back into do_exit # exit: Guarantee make_task_dead leaks the tsk when calling do_task_exit # ... # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 35ce8ae9ae2e471f92759f9d6880eab42cc1c3b6 # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- randconfig # 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 # Added to kconfig CONFIG_BPF_PRELOAD=n # Added to kconfig # < make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- help # make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- olddefconfig .config:5838:warning: override: reassigning to symbol STANDALONE .config:5839:warning: override: reassigning to symbol PREVENT_FIRMWARE_BUILD .config:5844:warning: override: reassigning to symbol GCC_PLUGIN_LATENT_ENTROPY # make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: arch/x86/crypto/blowfish_glue.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: arch/x86/crypto/blowfish_glue.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: arch/x86/crypto/blowfish_glue.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: arch/x86/crypto/blowfish_glue.o: unable to initialize decompress status for section .debug_info arch/x86/crypto/blowfish_glue.o: file not recognized: File format not recognized make[3]: *** [/kisskb/src/scripts/Makefile.build:484: arch/x86/crypto/blowfish-x86_64.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:550: arch/x86/crypto] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1840: arch/x86] Error 2 make[1]: *** Waiting for unfinished jobs.... /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: net/llc/llc_c_ac.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: net/llc/llc_c_ac.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: net/llc/llc_c_ac.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: net/llc/llc_c_ac.o: unable to initialize decompress status for section .debug_info net/llc/llc_c_ac.o: file not recognized: File format not recognized make[3]: *** [/kisskb/src/scripts/Makefile.build:484: net/llc/llc2.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:550: net/llc] Error 2 make[2]: *** Waiting for unfinished jobs.... /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: fs/fat/namei_vfat.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: fs/fat/namei_vfat.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: fs/fat/namei_vfat.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: fs/fat/namei_vfat.o: unable to initialize decompress status for section .debug_info fs/fat/namei_vfat.o: file not recognized: File format not recognized make[3]: *** [/kisskb/src/scripts/Makefile.build:484: fs/fat/vfat.o] Error 1 make[2]: *** [/kisskb/src/scripts/Makefile.build:550: fs/fat] Error 2 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [/kisskb/src/Makefile:1840: fs] Error 2 /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/gpio/gpio-mmio.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/gpio/gpio-mmio.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/gpio/gpio-mmio.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/gpio/gpio-mmio.o: unable to initialize decompress status for section .debug_info drivers/gpio/gpio-mmio.o: file not recognized: File format not recognized make[3]: *** [/kisskb/src/scripts/Makefile.build:484: drivers/gpio/gpio-generic.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/gpio] Error 2 make[2]: *** Waiting for unfinished jobs.... /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/char/ipmi/ipmi_si_intf.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/char/ipmi/ipmi_si_intf.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/char/ipmi/ipmi_si_intf.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/char/ipmi/ipmi_si_intf.o: unable to initialize decompress status for section .debug_info drivers/char/ipmi/ipmi_si_intf.o: file not recognized: File format not recognized make[3]: *** [/kisskb/src/scripts/Makefile.build:484: drivers/char/ipmi/ipmi_si.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/char/ipmi] Error 2 make[1]: *** [/kisskb/src/Makefile:1840: net] Error 2 /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/tty/serdev/core.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/tty/serdev/core.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/tty/serdev/core.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/tty/serdev/core.o: unable to initialize decompress status for section .debug_info drivers/tty/serdev/core.o: file not recognized: File format not recognized make[4]: *** [/kisskb/src/scripts/Makefile.build:484: drivers/tty/serdev/serdev.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/tty/serdev] Error 2 make[3]: *** Waiting for unfinished jobs.... /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/tty/serial/8250/8250_core.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/tty/serial/8250/8250_core.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/tty/serial/8250/8250_core.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/tty/serial/8250/8250_core.o: unable to initialize decompress status for section .debug_info drivers/tty/serial/8250/8250_core.o: file not recognized: File format not recognized make[5]: *** [/kisskb/src/scripts/Makefile.build:484: drivers/tty/serial/8250/8250.o] Error 1 make[5]: *** Waiting for unfinished jobs.... make[4]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/tty/serial/8250] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/tty/serial] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/tty] Error 2 /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/acpi/nfit/core.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/acpi/nfit/core.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/acpi/nfit/core.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/acpi/nfit/core.o: unable to initialize decompress status for section .debug_info drivers/acpi/nfit/core.o: file not recognized: File format not recognized make[4]: *** [/kisskb/src/scripts/Makefile.build:484: drivers/acpi/nfit/nfit.o] Error 1 make[3]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/acpi/nfit] Error 2 make[3]: *** Waiting for unfinished jobs.... make[2]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/acpi] Error 2 /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/video/fbdev/vermilion/vermilion.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/video/fbdev/vermilion/vermilion.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/video/fbdev/vermilion/vermilion.o: unable to initialize decompress status for section .debug_info /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld: drivers/video/fbdev/vermilion/vermilion.o: unable to initialize decompress status for section .debug_info drivers/video/fbdev/vermilion/vermilion.o: file not recognized: File format not recognized make[5]: *** [/kisskb/src/scripts/Makefile.build:484: drivers/video/fbdev/vermilion/vmlfb.o] Error 1 make[4]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/video/fbdev/vermilion] Error 2 make[4]: *** Waiting for unfinished jobs.... make[3]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/video/fbdev] Error 2 make[2]: *** [/kisskb/src/scripts/Makefile.build:550: drivers/video] Error 2 make[1]: *** [/kisskb/src/Makefile:1840: drivers] Error 2 make: *** [Makefile:219: __sub-make] Error 2 Command 'make -s -j 32 ARCH=x86_64 O=/kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- ' returned non-zero exit status 2 # rm -rf /kisskb/build/linus-rand_x86_64-randconfig_x86_64-gcc8 # Build took: 0:00:46.015276