This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v9] Add getentropy, getrandom, <sys/random.h> [BZ #17252]
On 12/06/2016 11:55 AM, Joseph Myers wrote:
> On Tue, 6 Dec 2016, Zack Weinberg wrote:
>
>> On the assumption that this _is_ the issue, I am going to write a script
>> that scans the Debian archive for existing binaries containing
>> definitions (exported or not) of getentropy and/or getrandom, and will
>> report what it tells me -- this will probably take a couple days to
>> cycle all the way through.
>
> You can't generally tell for a stripped executable whether there's a
> getentropy function in there - only if it's unstripped, or linked with
> -rdynamic, or linked with glibc that defines getentropy and so exports it
> in the dynamic symbol table for that reason. You could scan shared
> libraries for bogus exports, but I don't see how you could test for
> executables that would cause a problem when linked with new glibc without
> doing a full archive rebuild with patched glibc.
Oh bother. Well, forget that idea - I don't have access to sufficient
CPU grunt to do an archive rebuild.
zw
- References:
- Re: [PATCH v9] Add getentropy, getrandom, <sys/random.h> [BZ #17252]
- Re: [PATCH v9] Add getentropy, getrandom, <sys/random.h> [BZ #17252]
- Re: [PATCH v9] Add getentropy, getrandom, <sys/random.h> [BZ #17252]
- Re: [PATCH v9] Add getentropy, getrandom, <sys/random.h> [BZ #17252]
- Re: [PATCH v9] Add getentropy, getrandom, <sys/random.h> [BZ #17252]
- Re: [PATCH v9] Add getentropy, getrandom, <sys/random.h> [BZ #17252]