This is the mail archive of the libc-hacker@sourceware.cygnus.com 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]

ld-linux.so.2 keep /etc/ld.so.cache mapped



Miquel van Smoorenburg writes:
 > Is there any reason why ld-linux.so.2 keeps /etc/ld.so.cache mapped?
Yes, your version of glibc is too old ;-)
 > If /etc/ld.so.cache is deleted (by ldconfig) then init and other
 > long running processes will have this file mapped. Which gives a
 > fsck error after reboot ..
 > 
 > glibc 2.0.7t-1 (debian version number).

Andreas

P.S.:
1998-08-25  Ulrich Drepper  <drepper@cygnus.com>

        * sysdeps/generic/dl-cache.c: Move static variable cache and
          cachesize to toplevel.
        (_dl_unload_cache): New function.
        * elf/dl-open.c (_dl_open): Unload map file before freeing the lock.
        * elf/rtld.c (dl_main): Unload map file before jumping to user
          code.



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