From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1944) id 9174F3852C43; Wed, 23 Nov 2022 14:45:53 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9174F3852C43 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1669214753; bh=kW99uo5PVbPIdcDKbS2SA6gTIcLYiA2YM16cHWhJ2o0=; h=From:To:Subject:Date:From; b=hXg8cDjAtGygfsvbShSJb9HDn7oF/q1hnccGgJXe5OGv7Dq/114fBH0m8809zMWOM K3klPMqcozGKB5y9euxMa+YcP9Qbn1/vfZxEZ2YoGeiGRswprJzVPhmkM6fin9m0Az Mm2sbbMwu+0C7t879gz/DKF6dFtSLyP46YZXmis8= 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: 5042604a1eba1f411796d47a85b70e778e32f4d1 X-Git-Newrev: 0400bcd7643ea9ffe7c1fe7316cf22ee84cb54db Message-Id: <20221123144553.9174F3852C43@sourceware.org> Date: Wed, 23 Nov 2022 14:45:53 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=0400bcd7643ea9ffe7c1fe7316cf22ee84cb54db commit 0400bcd7643ea9ffe7c1fe7316cf22ee84cb54db 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;