[PATCH 2.27] RISC-V: fix struct kernel_sigaction to match the kernel version [BZ #23069]
Joseph Myers
joseph@codesourcery.com
Mon Jan 1 00:00:00 GMT 2018
On Mon, 16 Apr 2018, Aurelien Jarno wrote:
> The RISC-V kernel doesn't define SA_RESTORER, hence the kernel version
> of struct sigaction doesn't have the sa_restorer field. The default
> kernel_sigaction.h therefore can't be used.
>
> This patch adds a RISC-V specific version of kernel_sigaction.h to fix
> the issue. This fixes for example the libnih testsuite.
I think there ought to be a relevant test added to the glibc testsuite (on
master and backported) if there isn't one already, unless it's hard to
test this issue for some reason.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-stable
mailing list