From: Song Fangrui <i@maskray.me>
To: Bruno Haible <bruno@clisp.org>
Cc: "musl@lists.openwall.com" <musl@lists.openwall.com>
Subject: Re: TLS and TSS APIs have race conditions in musl
Date: Wed, 26 Jun 2019 09:12:36 +0000 [thread overview]
Message-ID: <MWHPR22MB167926F15243AD70EB07D19ACBE20@MWHPR22MB1679.namprd22.prod.outlook.com> (raw)
In-Reply-To: <14462497.iQ5DGy8R7k@omega>
On Wed, Jun 26, 2019 at 1:02 AM Bruno Haible <bruno@clisp.org> 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
>
> Bruno
>
I checkout commit 59f88d766263344ce3e124d969ba66720aff4590 and the
previous commit.
The data race you saw was fixed by it "fix data race choosing next key
slot in pthread_key_create"
next prev parent reply other threads:[~2019-06-26 9:12 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
2019-06-26 1:02 ` Bruno Haible
2019-06-26 1:48 ` Rich Felker
2019-06-26 9:12 ` Song Fangrui [this message]
[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=MWHPR22MB167926F15243AD70EB07D19ACBE20@MWHPR22MB1679.namprd22.prod.outlook.com \
--to=i@maskray.me \
--cc=bruno@clisp.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).