From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id CD6DA384B123; Wed, 26 Oct 2022 15:17:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CD6DA384B123 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666797454; bh=RRGu7fPP1E+dXcAXa7EMTFL6u/JhLhAFW4l2lSPIeAc=; h=From:To:Subject:Date:From; b=BhXngUmtIvPE1tD14jUOvTtIUWpOAAudnXvWsyBCubPn1PWRWt7gFun3uL/Lwwx0J pXLjaBGGHmgoGk9oGYM/pzH2zn74OxVDLECM4ZP2C3e0qYWLwHHxNb3iE3L416V4mM XA3G2j8c/NB7OPIIsbn42mng2Pax0JFPMUGuwzrU= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Szabolcs Nagy To: glibc-cvs@sourceware.org Subject: [glibc/arm/morello/main] cheri: nptl: fix pthread_attr_t alignment X-Act-Checkin: glibc X-Git-Author: Szabolcs Nagy X-Git-Refname: refs/heads/arm/morello/main X-Git-Oldrev: 31785f711d757e2a5fdcce624711d94c0cf4bd91 X-Git-Newrev: 724ebdd00021b08b3746006839786453c616b6ea Message-Id: <20221026151734.CD6DA384B123@sourceware.org> Date: Wed, 26 Oct 2022 15:17:19 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=724ebdd00021b08b3746006839786453c616b6ea commit 724ebdd00021b08b3746006839786453c616b6ea Author: Szabolcs Nagy Date: Tue Jul 12 13:09:02 2022 +0100 cheri: nptl: fix pthread_attr_t alignment Alignment of the public definition did not match the internal layout. Ensure that the type is at least pointer aligned. Diff: --- sysdeps/nptl/bits/pthreadtypes.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sysdeps/nptl/bits/pthreadtypes.h b/sysdeps/nptl/bits/pthreadtypes.h index 706c2bb495..f889b8926f 100644 --- a/sysdeps/nptl/bits/pthreadtypes.h +++ b/sysdeps/nptl/bits/pthreadtypes.h @@ -61,6 +61,7 @@ union pthread_attr_t { char __size[__SIZEOF_PTHREAD_ATTR_T]; long int __align; + void * __align_p; }; #ifndef __have_pthread_attr_t typedef union pthread_attr_t pthread_attr_t;