From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id A8EAF3857361; Fri, 5 Aug 2022 19:34:49 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A8EAF3857361 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: b38585301de505f6d82f7be0dd8f6913c1bb8528 X-Git-Newrev: f29dda01e00043ed2767192c0b12de708256e2f8 Message-Id: <20220805193449.A8EAF3857361@sourceware.org> Date: Fri, 5 Aug 2022 19:34:49 +0000 (GMT) X-BeenThere: glibc-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Glibc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Aug 2022 19:34:49 -0000 https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f29dda01e00043ed2767192c0b12de708256e2f8 commit f29dda01e00043ed2767192c0b12de708256e2f8 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;