summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-28 18:16:57 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-09-28 18:16:57 +0000
commit9dee8454dff4726b7d56a69ecb56d2c750fd8444 (patch)
tree0df781cada3c5e7e15aa9b12051e63e6570407bd
parent5a94a7f66629a282a55413fb2d623eeb9b82c05b (diff)
mark dlopen() modules with RTLD_DL
-rw-r--r--gnu/usr.bin/ld/rtld/rtld.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/usr.bin/ld/rtld/rtld.c b/gnu/usr.bin/ld/rtld/rtld.c
index 750c41b638c..1537f989d89 100644
--- a/gnu/usr.bin/ld/rtld/rtld.c
+++ b/gnu/usr.bin/ld/rtld/rtld.c
@@ -1451,6 +1451,7 @@ xprintf("%s: %s\n", name, strerror(errno));
if (load_subs(smp) != 0)
return NULL;
+ LM_PRIVATE(smp)->spd_flags |= RTLD_DL;
init_maps(smp);
return smp;
}