Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide getauxval() symbol #192

Closed
prlw1 opened this issue Sep 5, 2018 · 2 comments
Closed

Hide getauxval() symbol #192

prlw1 opened this issue Sep 5, 2018 · 2 comments
Labels

Comments

@prlw1
Copy link

prlw1 commented Sep 5, 2018

Just letting you know of a bug filed and fixed at: http://gnats.netbsd.org/53387

Essentially

assertion "type == AT_SECURE" failed: file "common/compat.c", line 801,
function "getauxval"
[1]   Abort trap (core dumped) scanimage

Fixed with the first section of: http://cdn.netbsd.org/pub/pkgsrc/current/pkgsrc/security/p11-kit/patches/patch-common_compat.c

@ueno
Copy link
Member

ueno commented Sep 7, 2018

We have the following snippet in p11-kit/Makefile.am:

libp11_kit_la_LDFLAGS = \
        -no-undefined \
        -version-info $(P11KIT_LT_RELEASE) \
        -export-symbols-regex '^C_GetFunctionList|^p11_kit_'

which reads that only functions matching the regex should be exported.

Are you sure that getauxval() is exported from libp11-kit.so (try nm -g <path-to>/libp11-kit.so)?

@ueno ueno added the invalid label Nov 14, 2018
@ueno
Copy link
Member

ueno commented Aug 29, 2019

I'm closing this as we haven't hear any further information for a long time. Please feel free to reopen if the problem still persists.

@ueno ueno closed this as completed Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants