From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9524 invoked from network); 18 Aug 2021 22:53:13 -0000 Received: from mother.openwall.net (195.42.179.200) by inbox.vuxu.org with ESMTPUTF8; 18 Aug 2021 22:53:13 -0000 Received: (qmail 7518 invoked by uid 550); 18 Aug 2021 22:53:10 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 7487 invoked from network); 18 Aug 2021 22:53:09 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=pobox.com; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=sasl; bh=+mURDA3f2X/n3zfwOOVyPvEFuN6TaUnp7XSof0a++Mw=; b=kAIC L9I94qRiuGqEDRpqxf9MCw86ezxXBPholuhJRzU/4WL4re65x/HQzTDWVdSfkkVz NcshPoxOwJXL2vtKsWjh0nlTD9K3mIP5vNjS/ylom0uZUIV9xNUxtP1dikGjAL4g c5s5Y1rvAm0JGhYnaMggPCI/coG4jq6+2bsnH1Y= From: Olivier Galibert To: musl@lists.openwall.com Cc: Olivier Galibert Date: Thu, 19 Aug 2021 00:52:23 +0200 Message-Id: <20210818225222.81919-1-galibert@pobox.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-Pobox-Relay-ID: 061B0CCC-0077-11EC-8EBC-FA9E2DDBB1FC-92059326!pb-smtp21.pobox.com Content-Transfer-Encoding: quoted-printable Subject: [musl] [PATCH] arm64/sigcontext: Synchronize the type of the __reserved field with the linux kernel. clang's compiler-rt sanitizer_linux.cpp expects the __reserved field to be convertible to u8 *. So let's. --- arch/aarch64/bits/signal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/aarch64/bits/signal.h b/arch/aarch64/bits/signal.h index 5098c734..a46997e3 100644 --- a/arch/aarch64/bits/signal.h +++ b/arch/aarch64/bits/signal.h @@ -19,7 +19,7 @@ typedef struct sigcontext { unsigned long fault_address; unsigned long regs[31]; unsigned long sp, pc, pstate; - long double __reserved[256]; + unsigned char __reserved[4096] __attribute__((__aligned__(16))); } mcontext_t; =20 #define FPSIMD_MAGIC 0x46508001 --=20 2.33.0