Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 23 Nov 2020 17:59:16 +0100
From: Florian Weimer <fw@...eb.enyo.de>
To: Jonathan Wakely <jwakely@...hat.com>
Cc: Rich Felker <dalias@...c.org>,  Арсений
 <a@...r0n.science>,  musl@...ts.openwall.com
Subject: Re: Mutexes are not unlocking

* Jonathan Wakely:

> Or users might be able to solve it for themselves by creating a tiny
> shared library that contains nothing but a symbol called
> __pthread_key_create and LD_PRELOADing that, so that the checks in the
> binaryware looking for that symbol become true.

Typically, that doesn't work for main programs because the link editor
will resolve weak unexported symbols to zero.  There might not be a
dynamic symbol entry for __pthread_key_create in this case.  Shared
objects are different in this regard.

I think interoperability for these mismatches has to come directly
from the mutex implementation.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.