From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/14265 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: TLS and TSS APIs have race conditions in musl Date: Tue, 25 Jun 2019 21:48:14 -0400 Message-ID: <20190626014814.GN1506@brightrain.aerifal.cx> References: <2140186.O6clVpGfe8@omega> <20190626001152.GL1506@brightrain.aerifal.cx> <14462497.iQ5DGy8R7k@omega> 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="186678"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.5.21 (2010-09-15) To: musl@lists.openwall.com Original-X-From: musl-return-14281-gllmg-musl=m.gmane.org@lists.openwall.com Wed Jun 26 03:48:30 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 1hfx2z-000mUN-R5 for gllmg-musl@m.gmane.org; Wed, 26 Jun 2019 03:48:29 +0200 Original-Received: (qmail 1235 invoked by uid 550); 26 Jun 2019 01:48:27 -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 1214 invoked from network); 26 Jun 2019 01:48:26 -0000 Content-Disposition: inline In-Reply-To: <14462497.iQ5DGy8R7k@omega> Original-Sender: Rich Felker Xref: news.gmane.org gmane.linux.lib.musl.general:14265 Archived-At: On Wed, Jun 26, 2019 at 03:02:10AM +0200, Bruno Haible wrote: > Hi Rich, > > > > On Alpine Linux 3.7 and 2.9, these test programs, when run, produce this output: > > This was a typo: I meant Alpine Linux 3.7 and 3.9. > > > Have you tried with current musl (1.1.22)? > > No. It surely is easier for you to try it with the current musl: > $ gcc -Wall test-tls.c -o test-tls && ./test-tls Indeed, sorry about that. I just ran it with git master and got "OK" for all the results. So I think you were seeing one of the known, already-fixed races. Thanks for reporting, though. Rich