Ron, I was under the impression that getpwent and friends are in libc and once called, dlopen libnss libraries according to what is in /etc/nsswitch.conf. An strace of xget seems to show this. I never see the libnss libraries dynamically linked to anything. I'm sorry to disagree with you, but I don't think a compile time option is necessary in order to prevent the libnss libraries from being used. However, as I posted earlier, the libnss are loaded by getpwent related functions that are used in libspfs. So, I will not be able to prevent the libnss libraries from being loaded.
> > On Tue, Sep 16, 2008 at 7:40 AM, Hugh Greenberg <[EMAIL PROTECTED]> wrote: >> >> I will be changing the permission preservation feature so it is a run >> time option. >> > > Hugh, if the getpwent and friends are referenced in the binary, I > think the run-time ld.so will get upset if it can not > resolve them. I hate to say it but this may need to be a build time option > :-( > > ron > -- Hugh Greenberg Los Alamos National Labs, CCS-1 Email: [EMAIL PROTECTED] Phone: (505) 665-6471
