OSDN Git Service

linux-user/x86_64: Raise SIGSEGV if SA_RESTORER not set
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 29 Sep 2021 13:05:38 +0000 (09:05 -0400)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 1 Oct 2021 10:03:48 +0000 (12:03 +0200)
commitdb2055415959bcc81cd6c2f0aa2c23e5f12c1eb6
treee16006dfe97db441c00dcc1b2c2dbdba7b6a3d18
parent8ee8a104807f67595c1a1963dbee208a52cc513b
linux-user/x86_64: Raise SIGSEGV if SA_RESTORER not set

This has been a fixme for some time.  The effect of
returning -EFAULT from the kernel code is to raise SIGSEGV.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210929130553.121567-12-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
linux-user/i386/signal.c