On 28/09/16 03:25 PM, Thorsten Glaser wrote:
Jack Bates dixit:
A) Call dlsym() early, before anything calls open(). Not possible
because even if you managed to call dlsym() before anything else,
dlsym() itself might call open() before it was done initializing :-(
B) Avoid dlsym() altogether
On 28/09/16 03:25 PM, Thorsten Glaser wrote:
Jack Bates dixit:
A) Call dlsym() early, before anything calls open(). Not possible
because even if you managed to call dlsym() before anything else,
dlsym() itself might call open() before it was done initializing :-(
B) Avoid dlsym() altogether
Jack Bates dixit:
>A) Call dlsym() early, before anything calls open(). Not possible
> because even if you managed to call dlsym() before anything else,
> dlsym() itself might call open() before it was done initializing :-(
>
>B) Avoid dlsym() altogether. What are the options in this case?
>
>
Package: cowdancer
Version: 0.81
Severity: normal
Dear Maintainer,
open() is supposed to be async-signal-safe [1], however cowdancer's
open() calls dlsym() [2] which calls calloc() [3] which isn't AS-safe.
This caused me some grief [4], in combination with TCMalloc and
Chromium.
As I see it, to
4 matches
Mail list logo