From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id 60974386185A; Thu, 27 Oct 2022 13:55:58 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 60974386185A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1666878958; bh=16yh8I+6blwwv2pd8fDIv9P2ZtZAOOh98hYONcn10TM=; h=From:To:Subject:Date:From; b=Ar7M3hP/Qy7eK1f6bQ+/dIZPFa/sFOHxpMKNMZZHelDaNTpR7LxYnDHNd6wkQsm2D 9GqYshGvotTRTCxHlf9vFiNa6H+LelGeTVjoh8tkePwYYpO6eo6kiPhG1FSdhavlDx TKKaeRmjkSHz/cXJnXjyo2ev6jnDsRXcaq7IrsDw= 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: 280d809f68aaa725bc3d2e1724c42d83e951248f X-Git-Newrev: f65ed89a55172f2df5d214c854eaa9dadf7be35d Message-Id: <20221027135558.60974386185A@sourceware.org> Date: Thu, 27 Oct 2022 13:55:58 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=f65ed89a55172f2df5d214c854eaa9dadf7be35d commit f65ed89a55172f2df5d214c854eaa9dadf7be35d 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;