Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Apr 2003 17:49:50 +0400
From:      "Michael A. Bushkov" <bushman@rsu.ru>
To:        freebsd-hackers@freebsd.org
Cc:        os@rsu.ru
Subject:   Re: Re: nsswitch implementation
Message-ID:  <F62F7D8D-6E7F-11D7-BFAE-000393BC13C6@rsu.ru>

next in thread | raw e-mail | index | archive | help
>
>> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?F62F7D8D-6E7F-11D7-BFAE-000393BC13C6>