u-boot/arch
Heinrich Schuchardt a2a9317cbc sandbox: unblock signal before calling execv()
The following faulty behavior was observed. The sandbox configured with
CONFIG_SANDBOX_CRASH_RESET=y was invoked with

    ./u-boot -T -S

After executing `exception undefined' the sandbox reboots.
When executing `exception undefined' the sandbox exits with SIGSEGV.

The expected behavior is that the sandbox should reboot again.

If we are relaunching the sandbox in a signal handler, we have to unblock
the respective signal before calling execv(). See signal(7) man-page.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
2022-09-25 08:30:05 -06:00
..
arc arc: Move SYS_LITTLE_ENDIAN / SYS_BIG_ENDIAN selection to Kconfig 2022-08-12 16:10:49 -04:00
arm board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
m68k cyclic: Use schedule() instead of WATCHDOG_RESET() 2022-09-18 10:26:33 +02:00
microblaze microblaze: add arch_print_bdinfo() implementation 2022-09-13 11:32:48 +02:00
mips board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
nios2 linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
powerpc powerpc/mpc85xx: Fix re-align of unmapped DDR memory message for non-SPL builds 2022-09-23 15:13:18 -04:00
riscv board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
sandbox sandbox: unblock signal before calling execv() 2022-09-25 08:30:05 -06:00
sh sh: Remove unused code in arch/sh/lib/bootm.c 2022-08-04 16:18:47 -04:00
x86 board_f: Fix types for board_get_usable_ram_top() 2022-09-23 15:12:42 -04:00
xtensa xtensa: Switch to using CONFIG_XTENSA for building device trees 2022-06-28 17:03:31 -04:00
.gitignore
Kconfig sandbox: Avoid defining HAVE_BLOCK_DEVICE in Konfig 2022-09-16 11:05:00 -04:00
Kconfig.nxp Convert CONFIG_SYS_FSL_NUM_CC_PLLS to Kconfig 2022-08-12 16:10:49 -04:00
u-boot-elf.lds