aboutsummaryrefslogtreecommitdiff
path: root/elf/rtld.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-10-27 20:09:12 +0000
committerUlrich Drepper <drepper@redhat.com>2003-10-27 20:09:12 +0000
commit476238abeb3733ade94813742b09c6db08e922a1 (patch)
tree40ba575a9d6b1967ea29af179ee11f0c4dbe0a99 /elf/rtld.c
parent9a267ae298e5e208f05f0e5089530697f0226300 (diff)
downloadglibc-476238abeb3733ade94813742b09c6db08e922a1.zip
glibc-476238abeb3733ade94813742b09c6db08e922a1.tar.gz
glibc-476238abeb3733ade94813742b09c6db08e922a1.tar.bz2
Update.
* elf/rtld.c (map_doit): Pass __RTLD_OPENEXEC in last parameter to _dl_map_object.
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index 344fede..e92149a 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -520,7 +520,8 @@ static void
map_doit (void *a)
{
struct map_args *args = (struct map_args *) a;
- args->main_map = INTUSE(_dl_map_object) (NULL, args->str, 0, lt_library, 0, 0);
+ args->main_map = INTUSE(_dl_map_object) (NULL, args->str, 0, lt_library, 0,
+ __RTLD_OPENEXEC);
}
static void