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 Jun 20, 12:35pm, martin%duskware.de@localhost (Martin Husemann) wrote:
-- Subject: 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
Libcrypto expects the symbol getauxval to do what it is supposed to if it
exists :-) Let's fix p11-kit. It is stupid to call it getauxval in the first
place, it should have called it istainted() or something.
christos
Home |
Main Index |
Thread Index |
Old Index