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: [email protected]
          Reporter: [email protected]

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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to