u-boot/arch/sandbox/cpu
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
..
cache.c sandbox: implement invalidate_icache_all() 2020-12-22 20:39:25 -07:00
cpu.c sandbox: show error if the device-tree cannot be loaded 2022-06-28 03:09:51 +01:00
eth-raw-os.c sandbox: eth-raw: fix building with musl library 2022-01-25 14:02:38 -07:00
Makefile sandbox: fix build failure with musl and SDL 2022-02-09 12:26:12 -07:00
os.c sandbox: unblock signal before calling execv() 2022-09-25 08:30:05 -06:00
sdl.c video: sandbox: Avoid duplicate display windows 2021-12-26 23:02:19 +01:00
spl.c test: Allow running tests multiple times 2022-09-02 16:21:44 -04:00
start.c sandbox: Decouple program entry from sandbox init 2022-06-23 12:58:18 -04:00
state.c sandbox: Show a message when writing out the ram buffer 2022-03-18 19:24:24 -06:00
u-boot-spl.lds linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
u-boot.lds linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00