This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: Forcing BIND_NOW for a symbol
- From: "Carlos O'Donell" <carlos at redhat dot com>
- To: Florian Weimer <fweimer at redhat dot com>
- Cc: libc-help <libc-help at sourceware dot org>
- Date: Mon, 2 Nov 2015 11:17:17 -0500
- Subject: Re: Forcing BIND_NOW for a symbol
- Authentication-results: sourceware.org; auth=none
- References: <56376829 dot 7050707 at redhat dot com> <56377C77 dot 2010209 at redhat dot com> <56377EEA dot 3030302 at redhat dot com> <56378B60 dot 7070803 at redhat dot com> <56378BFE dot 7010503 at redhat dot com>
On 11/02/2015 11:14 AM, Florian Weimer wrote:
>>> I think it's needed for a high-quality implementation of getrandom with
>>> an emulation that cannot fail.
>>
>> Exactly what failure modes are you considering?
>
> First call to getrandom after chroot, or in a rarely-executed error
> handler. (The latter is not as obscure at it sounds, sometimes
> randomness is recommended as a way to obfuscate the case of a
> cryptography-related failure.)
I still don't understand the use case.
Could you please expand on this a bit?
c.