sandbox: improve description of CONFIG_SANDBOX_CRASH_RESET

Mentions that command line option --signal is needed to make use of this
configuration option.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
This commit is contained in:
Heinrich Schuchardt 2024-02-12 09:37:30 +01:00 committed by Tom Rini
parent 04fc470cf8
commit 7b2d32a7d6

View File

@ -58,10 +58,15 @@ config SANDBOX_CRASH_RESET
bool "Reset on crash"
help
If an illegal instruction or an illegal memory access occurs, the
sandbox by default writes a crash dump and exits. If you set this
flag, the sandbox is reset instead. This may be useful when running
test suites like the UEFI self certification test which continue
with the next test after a crash.
sandbox exits with an error by default.
If the u-boot binary is invoked with --signals (or -S), U-Boot will
handle the signal writing a crash dump before exiting.
If you additionally set the CONFIG_SANDBOX_CRASH_RESET flag, the
sandbox is reset after writing the crash dump. This may be useful
when running test suites like the UEFI self certification test which
continue with the next test after a crash.
config SANDBOX_BITS_PER_LONG
int