arm64: fix struct l_sigaction_t layout

The definition was copied from amd64, but the layout of the struct
differs slightly between these platforms. This fixes spurious
`unsupported sigaction flag 0xXXXXXXXX` messages when executing some
Linux binaries on arm64.

Reviewed by:	emaste
MFC after:	1 week
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D27460
This commit is contained in:
Mitchell Horne 2020-12-08 18:24:33 +00:00
parent ae95396817
commit 95e1f42eb9
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=368458

View File

@ -163,9 +163,9 @@ typedef void (*l_handler_t)(l_int);
typedef struct {
l_handler_t lsa_handler;
l_sigset_t lsa_mask;
l_ulong lsa_flags;
l_uintptr_t lsa_restorer;
l_sigset_t lsa_mask;
} l_sigaction_t; /* XXX */
typedef struct {