about summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-08-28 22:57:23 +0000
committerUlrich Drepper <drepper@redhat.com>2006-08-28 22:57:23 +0000
commit4004a0a552ec2257d69d7bc1e1b6df7ad83c627d (patch)
treeb4857357bd0f74a8d0b43eeba3c8d0f7af073d59
parent6e31011191823a5d7dc65632f4be8a87fcf0779b (diff)
downloadglibc-4004a0a552ec2257d69d7bc1e1b6df7ad83c627d.tar.gz
glibc-4004a0a552ec2257d69d7bc1e1b6df7ad83c627d.tar.xz
glibc-4004a0a552ec2257d69d7bc1e1b6df7ad83c627d.zip
* elf/dl-open.c (dl_open_worker): Allow $LIB and $PLATFORM in
	dlopen parameters.
-rw-r--r--ChangeLog5
-rw-r--r--elf/dl-open.c7
2 files changed, 5 insertions, 7 deletions
diff --git a/ChangeLog b/ChangeLog
index 2f46b1e408..2116676637 100644
--- 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
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));