NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: getauxval AT_SECURE error [ was graphics/sane-backends...]
On Wed, Jun 20, 2018 at 03:21:12AM +0000, Christos Zoulas wrote:
> So where is it being called from? Probably from libcrypto?
> It [p11-glue] should not expose the symbol...
Yeah, libcropty's .init section probes for arm properties, with a
stupid version relying on libc providing "getauxval" (on Linux) or
not (everwhere else).
It uses a weak symbol for that, and p11-kit overrides getauxval.
Now the libcrypto call to getauxval ends in p11-kit's getauxval and that
can not handle the request and dies.
Two bugs here:
- p11-kit should make the symbol hidden
- libcrypto should #ifdef __linux__ (or something) the getauxval code
Martin
Home |
Main Index |
Thread Index |
Old Index