nsswitch implementation
Michael A. Bushkov
bushman at rsu.ru
Mon Apr 14 06:50:06 PDT 2003
>
>> The daemon (level 2) should be able do dynamically open modules - we
>> can't call dlopen() directly from libc.
>
> Sure we can. You just can't if you are a statically-linked
> executable. [The implementation that will be committed shortly allows
> for building an NSS module with world so that statically-linked
> binaries are also supported.]
Do you want to statically compile nss-modules in libc? If you do that,
you'll have to statically link a lot of stuff into libc (for example,
if we have nss_ldap module - we must compile whole ldap implementation
into libc). And if we do it that way, libc will grow and grow...
Besides, if you want to change a module code, you'll have to recompile
whole libc.
We are very interested to know your way of solving these problems...
Michael A. Bushkov
Computer Center of Rostov State University
More information about the freebsd-hackers
mailing list