This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

dlopen() not locking shared object


I'm looking for a way to load a shared object like dlopen() does, but
without keeping the shared object file open.  I have an application
where I need to mount an NFS volume, load a shared object completely,
then unmount the NFS volume (I can't have NFS up all the time due
to reliability concerns).

Does anyone know of a way to do this easily on Linux or some better
way to do this operation?  If no way exists now, it looks pretty easy
to modify the glibc dlopen to do this via a new flag or mode.  Would
it be possible for me to provide a patch to add this to glibc?

Thanks,

Corey

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]