* elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in

dlopen parameters.
This commit is contained in:
Ulrich Drepper 2006-08-28 22:57:23 +00:00
parent 6e31011191
commit 4004a0a552
2 changed files with 5 additions and 7 deletions

View File

@ -1,3 +1,8 @@
2006-08-28 Ulrich Drepper <drepper@redhat.com>
* elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in
dlopen parameters.
2006-08-28 Jakub Jelinek <jakub@redhat.com>
* inet/getnameinfo.c (getnameinfo): For AF_INET, check errno

View File

@ -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));