summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-10-11 20:57:11 +0000
committerJoakim Tjernlund <joakim.tjernlund@transmode.se>2004-10-11 20:57:11 +0000
commit70f37cc506d13685549482b9a3ce2440718a2e54 (patch)
tree0b74435ff3de38650601568fc20f70254b3b799d
parent61e6ce86713b32bb53acd4d30f2533b9686b8616 (diff)
Undo previous change. Leave SUID programs alone until I know what to do
with them.
-rw-r--r--ldso/ldso/dl-elf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c
index 1837977e0..3e4e3482c 100644
--- a/ldso/ldso/dl-elf.c
+++ b/ldso/ldso/dl-elf.c
@@ -317,7 +317,7 @@ struct elf_resolve *_dl_load_shared_library(int secure, struct dyn_elf **rpnt,
* the hard coded paths that follow (i.e before /lib and /usr/lib).
*/
#ifdef __LDSO_CACHE_SUPPORT__
- if (!_dl_secure && _dl_cache_addr != NULL && _dl_cache_addr != (caddr_t) - 1) {
+ if (_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];