[uClibc-cvs] CVS uClibc/ldso/ldso

CVS User jocke jocke at codepoet.org
Mon Oct 11 08:15:33 UTC 2004


Update of /var/cvs/uClibc/ldso/ldso
In directory nail:/tmp/cvs-serv28252

Modified Files:
	dl-elf.c 
Log Message:
Don't use ld.so.cache for SUID programs.


--- /var/cvs/uClibc/ldso/ldso/dl-elf.c	2004/10/07 13:48:19	1.85
+++ /var/cvs/uClibc/ldso/ldso/dl-elf.c	2004/10/11 08:15:32	1.86
@@ -317,7 +317,7 @@
 	 * the hard coded paths that follow (i.e before /lib and /usr/lib).
 	 */
 #ifdef __LDSO_CACHE_SUPPORT__
-	if (_dl_cache_addr != NULL && _dl_cache_addr != (caddr_t) - 1) {
+	if (!_dl_secure && _dl_cache_addr != NULL && _dl_cache_addr != (caddr_t) - 1) {
 		int i;
 		header_t *header = (header_t *) _dl_cache_addr;
 		libentry_t *libent = (libentry_t *) & header[1];



More information about the uClibc-cvs mailing list