From 4004a0a552ec2257d69d7bc1e1b6df7ad83c627d Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 28 Aug 2006 22:57:23 +0000 Subject: [PATCH] * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in dlopen parameters. --- ChangeLog | 5 +++++ elf/dl-open.c | 7 ------- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2f46b1e..2116676 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-08-28 Ulrich Drepper + + * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in + dlopen parameters. + 2006-08-28 Jakub Jelinek * inet/getnameinfo.c (getnameinfo): For AF_INET, check errno diff --git a/elf/dl-open.c b/elf/dl-open.c index cdbb660..8d057f8 100644 --- a/elf/dl-open.c +++ b/elf/dl-open.c @@ -221,13 +221,6 @@ dl_open_worker (void *a) size_t required; char *new_file; - /* DSTs must not appear in SUID/SGID programs. */ - if (INTUSE(__libc_enable_secure)) - /* This is an error. */ - _dl_signal_error (0, "dlopen", NULL, - N_("DST not allowed in SUID/SGID programs")); - - /* Determine how much space we need. We have to allocate the memory locally. */ required = DL_DST_REQUIRED (call_map, file, len, _dl_dst_count (dst, 0)); -- 2.7.4