about summary refs log tree commit diff
diff options
context:
space:
mode:
-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;
 }