nsswitch implementation

Tim Kientzle kientzle at acm.org
Mon Apr 14 11:05:48 PDT 2003


Michael A. Bushkov wrote:

>>> 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.]


Of course, if the whole system were
dynamically linked, that would
also solve the problem.

I've been working toward making the
entire system dynamically linked.
Some of the uglier parts are already
done, but my time is limited, so I
anticipate another couple of months
before it's really usable.

FYI, the reason I've been working on
a fully-dynamic system is specifically so that
NSS, PAM, and locale implementations
can rely on dlopen().  It would be a pity
to do all this work and have noone
appreciate it.  ;-)

Tim Kientzle





More information about the freebsd-hackers mailing list