This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v9] Add getentropy, getrandom, <sys/random.h> [BZ #17252]


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]