]> git.dujemihanovic.xyz Git - u-boot.git/commit
sandbox: don't set SA_NODEFER in signal handler
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 5 Jul 2021 17:43:00 +0000 (19:43 +0200)
committerSimon Glass <sjg@chromium.org>
Wed, 21 Jul 2021 16:27:35 +0000 (10:27 -0600)
commitfd25ca3275946476d5c3fa32e3e7e3087fa5c572
tree715bfe00975f488dd3b515099cd061557358bee2
parent03ebc20de3b30fca5230a4c73cf4494b0d8d8d08
sandbox: don't set SA_NODEFER in signal handler

The sandbox can handle signals. Due to a damaged global data pointer
additional exceptions in the signal handler may occur leading to an endless
loop. In this case leave the handling of the secondary exception to the
operating system.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/sandbox/cpu/os.c