[uClibc] [PATCH] Config option for /etc/ld.so.preload

Peter Kjellerstedt peter.kjellerstedt at axis.com
Sun Oct 3 11:57:19 UTC 2004


After the addition of a configuration option for
enabling the support of /etc/ld.so.cache, I thought
it might be a good idea to add one for the support
of the /etc/ld.so.preload file too. So here it is.

While doing this, I also noticed that the dynamic
linker would hang indefinitely if either LD_PRELOAD 
or /etc/ld.so.preload contained a library which was
already loaded, so I made a patch for that too.

And of course, I could not resist from doing a little
clean up of comments and indentation, so here is a
patch for that too.

//Peter

PS. The three patches are supposed to be applied in 
the  following order: dup_libs.patch, preload.patch 
and ldso_cleanup.patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dup_libs.patch
Type: application/octet-stream
Size: 1196 bytes
Desc: dup_libs.patch
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20041003/32a11b14/attachment.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: preload.patch
Type: application/octet-stream
Size: 2351 bytes
Desc: preload.patch
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20041003/32a11b14/attachment-0001.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ldso_cleanup.patch
Type: application/octet-stream
Size: 26813 bytes
Desc: ldso_cleanup.patch
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20041003/32a11b14/attachment-0002.obj 


More information about the uClibc mailing list