From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14137 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Szabolcs Nagy Newsgroups: gmane.linux.lib.musl.general Subject: Re: [PATCH] fix tls offsets when p_vaddr%p_align != 0 for TLS_ABOVE_TP Date: Fri, 17 May 2019 14:32:41 +0200 Message-ID: <20190517123241.GG16415@port70.net> References: <20190514020131.GC16415@port70.net> <20190516002051.GX23599@brightrain.aerifal.cx> <20190516074850.GD16415@port70.net> <20190516132246.GY23599@brightrain.aerifal.cx> <20190516225117.GF16415@port70.net> <20190517015043.GA23599@brightrain.aerifal.cx> Reply-To: musl@lists.openwall.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="256749"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) To: musl@lists.openwall.com Original-X-From: musl-return-14153-gllmg-musl=m.gmane.org@lists.openwall.com Fri May 17 14:33:01 2019 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.89) (envelope-from ) id 1hRc2j-0014Zq-5y for gllmg-musl@m.gmane.org; Fri, 17 May 2019 14:32:57 +0200 Original-Received: (qmail 32417 invoked by uid 550); 17 May 2019 12:32:53 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 32397 invoked from network); 17 May 2019 12:32:53 -0000 Mail-Followup-To: musl@lists.openwall.com Content-Disposition: inline In-Reply-To: <20190517015043.GA23599@brightrain.aerifal.cx> Xref: news.gmane.org gmane.linux.lib.musl.general:14137 Archived-At: * Rich Felker [2019-05-16 21:50:43 -0400]: > On Fri, May 17, 2019 at 12:51:18AM +0200, Szabolcs Nagy wrote: > > + p->tls.offset = tls_offset + ( (p->tls_align-1) & > ~~~~~~~~~ > > This should be tls.align. I can fix it up though when applying. yes, my bad.