[PATCH 1/3] New --inhibit-ldcache option to ld.so to prevent it form reading ld.so.cache
Siddhesh Poyarekar
siddhesh@redhat.com
Tue Apr 10 03:23:00 GMT 2012
On Fri, 6 Apr 2012 09:37:05 -0700 (PDT)
Roland McGrath <roland@hack.frob.com> wrote:
> Call the option just --inhibit-cache and the variable
> _dl_inhibit_cache. Use string concatenation to use LD_SO_CACHE rather
> than a hard-coded name in the help text.
>
Thanks, updated patch attached.
--
Siddhesh
ChangeLog:
2012-04-09 Siddhesh Poyarekar <siddhesh@redhat.com>
* elf/dl-support.c (_dl_inhibit_cache): New variable.
* elf/rtld.c (_rtld_global_ro): New member
_dl_inhibit_cache. (dl_main): Handle --inhibit-cache.
* sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New
member _dl_inhibit_cache
* elf/dl-load.c (_dl_map_object): Use it.
* elf/Makefile: Define SYSCONFDIR when building rtld.c.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-inhibit-cache-2.patch
Type: text/x-patch
Size: 3422 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20120410/612b0e03/attachment.bin>
More information about the Libc-alpha
mailing list