* elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in
authorUlrich Drepper <drepper@redhat.com>
Mon, 28 Aug 2006 22:57:23 +0000 (22:57 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 28 Aug 2006 22:57:23 +0000 (22:57 +0000)
dlopen parameters.

ChangeLog
elf/dl-open.c

index 2f46b1e..2116676 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index cdbb660..8d057f8 100644 (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));