summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-03-29 17:25:46 +0000
committerUlrich Drepper <drepper@redhat.com>1999-03-29 17:25:46 +0000
commit57de50372c3bf86ba185b2e6b07fb4fb6caca3d8 (patch)
tree47433063decde140dd5b91d38ace89a9b81d5993
parentef31757275014a84b32697ee08acb8cf3f909000 (diff)
downloadglibc-57de50372c3bf86ba185b2e6b07fb4fb6caca3d8.tar.gz
glibc-57de50372c3bf86ba185b2e6b07fb4fb6caca3d8.tar.xz
glibc-57de50372c3bf86ba185b2e6b07fb4fb6caca3d8.zip
Update.
1999-03-29  Ulrich Drepper  <drepper@cygnus.com>

	* elf/rtld.c (process_envvars): Do not automatically prevent lazy
	relocation for SUID binaries.

	* misc/regexp.h (compile): Cast some pointers to (char *) to avoid
-rw-r--r--ChangeLog7
-rw-r--r--elf/rtld.c2
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 41baa30644..eb8a0ef3c6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-03-29  Ulrich Drepper  <drepper@cygnus.com>
+
+	* elf/rtld.c (process_envvars): Do not automatically prevent lazy
+	relocation for SUID binaries.
+
 1999-03-29  Paul Eggert  <eggert@twinsun.com>
 
 	* libio/iopopen.c (_IO_new_proc_open): Don't modify proc_file_chain
@@ -94,7 +99,7 @@
 
 1999-03-28  Andreas Jaeger  <aj@arthur.rhein-neckar.de>
 
-	* misc/regexp.h (compile): Cast some pointers to (char *) to avoid 
+	* misc/regexp.h (compile): Cast some pointers to (char *) to avoid
 	C++ warning.
 
 	* ctype/ctype.h (tolower, toupper): Add __THROW declaration to
diff --git a/elf/rtld.c b/elf/rtld.c
index 40405d15af..acbe3cdcbd 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -1396,7 +1396,7 @@ process_envvars (enum mode *modep, int *lazyp)
   if (__builtin_expect (mode, normal) == trace)
     *lazyp = _dl_verbose ? !bind_now : -1;
   else
-    *lazyp = !__libc_enable_secure && !bind_now;
+    *lazyp = !bind_now;
 
   *modep = mode;
 }