[PATCH v9] Add getentropy, getrandom, <sys/random.h> [BZ #17252]
Florian Weimer
fweimer@redhat.com
Wed Dec 7 10:52:00 GMT 2016
On 12/06/2016 06:01 PM, Joseph Myers wrote:
> On Tue, 6 Dec 2016, Florian Weimer wrote:
>
>> What do you suggest we should do if we detect unintended interposition
>> (assuming we decide to use the version without redirection first)?
>
> In the first instance I'd suggest changing the programs with the problem
> getrandom / getentropy definitions (to, probably, use glibc's version when
> available).
We can do that for things in the distribution, true, but I still think
it's annoying that if an application defines a getentropy symbol,
cryptographic libraries such as OpenSSL could begin to behave in a
slightly different way.
I can drop the mangling for now if that's the general consensus, but I
don't like how I'm pressured into making a change which I consider
unnecessarily risky.
Florian
More information about the Libc-alpha
mailing list