kernel_optimize_test/arch/um/os-Linux
Johannes Berg 5c1f33e2a0 um: Don't trace irqflags during shutdown
In the main() code, we eventually enable signals just before
exec() or exit(), in order to to not have signals pending and
delivered *after* the exec().

I've observed SIGSEGV loops at this point, and the reason seems
to be the irqflags tracing; this makes sense as the kernel is
no longer really functional at this point. Since there's really
no reason to use unblock_signals_trace() here (I had just done
a global search & replace), use the plain unblock_signals() in
this case to avoid going into the no longer functional kernel.

Fixes: 0dafcbe128 ("um: Implement TRACE_IRQFLAGS_SUPPORT")
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
2019-11-25 22:42:57 +01:00
..
drivers um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
skas um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
elf_aux.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
execvp.c um: Use os_warn to print out pre-boot warning/error messages 2017-07-05 23:18:25 +02:00
file.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
helper.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
irq.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
main.c um: Don't trace irqflags during shutdown 2019-11-25 22:42:57 +01:00
Makefile um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
mem.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
process.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
registers.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
sigio.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
signal.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
start_up.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
time.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
tty.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
umid.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00
user_syms.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
util.c um: Add SPDX headers for files in arch/um/os-Linux 2019-09-15 21:37:17 +02:00