[Bug 283528] I need an alias for the symbol getaddrinfo
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 283528] I need an alias for the symbol getaddrinfo"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Jan 2025 18:20:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=283528
Konstantin Belousov <kib@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kib@FreeBSD.org
--- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> ---
If you have an object a.so that interposes symbol A, the usual way to access
the symbol A from beneath a.so is using dlsym(RTLD_NEXT, "A").
To get guaranteed results for symbols exported from libc, like "getaddrinfo",
ensure that your interposer is linked to libc.
--
You are receiving this mail because:
You are the assignee for the bug.