mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: TLS and TSS APIs have race conditions in musl
Date: Tue, 25 Jun 2019 20:11:52 -0400	[thread overview]
Message-ID: <20190626001152.GL1506@brightrain.aerifal.cx> (raw)
In-Reply-To: <2140186.O6clVpGfe8@omega>

On Wed, Jun 26, 2019 at 01:42:25AM +0200, Bruno Haible wrote:
> Hi,
> 
> The attached test programs exercise the <pthread.h> thread-local storage (TLS)
> API and the <threads.h> thread-specific storage (TSS) API in libc.
> 
> On Alpine Linux 3.7 and 2.9, these test programs, when run, produce this output:

Have you tried with current musl (1.1.22)? There were known race
conditions in older versions and I'm pretty sure Alpine 3.7 is
affected.

Rich


  reply	other threads:[~2019-06-26  0:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-25 23:42 Bruno Haible
2019-06-26  0:11 ` Rich Felker [this message]
2019-06-26  1:02   ` Bruno Haible
2019-06-26  1:48     ` Rich Felker
2019-06-26  9:12     ` Song Fangrui
     [not found]     ` <MWHPR22MB16797DB7D625B054E84B0770CBE20@MWHPR22MB1679.namprd22.prod.outlook.com>
2019-06-26 17:31       ` Bruno Haible

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190626001152.GL1506@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).