From: Ulrich Drepper Date: Mon, 28 Aug 2006 22:57:23 +0000 (+0000) Subject: * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in X-Git-Tag: cvs/fedora-glibc-20060831T0640~3 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=4004a0a552ec2257d69d7bc1e1b6df7ad83c627d;p=glibc.git * elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in dlopen parameters. --- diff --git a/ChangeLog b/ChangeLog index 2f46b1e408..2116676637 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 cdbb6601d2..8d057f82eb 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));