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:
mhorne 2020-12-08 18:24:33 +00:00
parent 98cafec196
commit 827b9866f5

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 {