[Bug 200512] _nss_cache_cycle_prevention_function hack between lib/libc and usr.sbin
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri May 29 04:12:25 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200512
Bug ID: 200512
Summary: _nss_cache_cycle_prevention_function hack between
lib/libc and usr.sbin
Product: Base System
Version: 11.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: bin
Assignee: freebsd-bugs at FreeBSD.org
Reporter: ngie at FreeBSD.org
Spotted the string 'Undefined symbol "_nss_cache_cycle_prevention_function"' in
a corefile that uses nsdispatch.
The lookup's being done in lib/libc/net/nsdispatch.c, however,
"_nss_cache_cycle_prevention_function" is only being provided by nscd.
This hack seems horrible and could probably be replaced with a weak symbol...
$ grep -r _nss_cache_cycle_prevention usr.sbin/ lib
usr.sbin/nscd/nscd.c: * The idea of _nss_cache_cycle_prevention_function is
that nsdispatch
usr.sbin/nscd/nscd.c:void *_nss_cache_cycle_prevention_function;
lib/libc/net/nsdispatch.c: "_nss_cache_cycle_prevention_function");
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list