Nicolas Williams wrote:
> On Thu, Oct 16, 2008 at 02:17:59PM -0700, Rod Evans wrote:
>>> b) folding rpcsec.so.1 into libnsl and moving libgss into /lib
>> This sounds feasible too, and would simplify and improve the performance
>> of the system as a whole.  Don't forget, filtees are another object ld.so.1
>> has to load - the less the better.
> 
> But the filtee doesn't get loaded unless the filter is referenced,
> right?  Or does ld.so.1 load even filtees unless -z lazy/RTLD_LAZY?

Correct.  But if you do use it, you're loading another library.

> I'll ask around about moving libgss into /lib.  I don't want to bother
> with CD/miniroot sizing issues if that's likely to cause others
> heartburn.
> 
>> Why not fold rpcsec.so.1 and libgss into libnsl :-)
> 
> Well, libgss can't be folded into libnsl, not unless we leave a libgss
> filter around.  And most uses of libgss don't come from libnsl.  So I'd
> feel uncomfortable about folding libgss into libnsl.

If you fold a library into another, and the former has other users, then
you must always leave a filter around.  The same model has been applied to
things like libthread, libaio, librt ... which have been folded into libc.

-- 

Rod.

Reply via email to