* hurd/hurdsig.c (_hurdsig_getenv): Always return null if
authorRoland McGrath <roland@gnu.org>
Wed, 24 Jul 2002 23:05:17 +0000 (23:05 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 24 Jul 2002 23:05:17 +0000 (23:05 +0000)
__libc_enable_secure is set.

ChangeLog
NEWS
hurd/hurdsig.c

index eb30b68..5a719a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-07-19  Roland McGrath  <roland@frob.com>
+
+       * hurd/hurdsig.c (_hurdsig_getenv): Always return null if
+       __libc_enable_secure is set.
+
 2002-07-24  Roland McGrath  <roland@frob.com>
 
        Added <ifaddrs.h> interface with functions `getifaddrs', `freeifaddrs'.
diff --git a/NEWS b/NEWS
index 5881885..b983f76 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -3,8 +3,7 @@ Copyright (C) 1992-2000,01,02 Free Software Foundation, Inc.
 See the end for copying conditions.
 
 Please send GNU C library bug reports using the `glibcbug' script to
-<bugs@gnu.org>.  Questions and suggestions should be send to
-<bug-glibc@gnu.org>.
+<bugs@gnu.org>.  Please send questions and suggestions to <bug-glibc@gnu.org>.
 \f
 Version 2.3
 
@@ -41,6 +40,10 @@ Version 2.3
 
 * Bruno Haible contributed iconv converters for ISO-2022-JP-3, SHIFT JIS-X0213,
   and EUC-JISX0213.
+
+* New header <ifaddrs.h> with functions `getifaddrs' and `freeifaddrs':
+  BSD-compatible interface for getting all network interface addresses.
+  Implementation for IPv4 by Roland McGrath.
 \f
 Version 2.2.5
 
index 1bfc093..2507a8b 100644 (file)
@@ -1358,6 +1358,9 @@ text_set_element (_hurd_reauth_hook, reauth_proc);
 const char *
 _hurdsig_getenv (const char *variable)
 {
+  if (__libc_enable_secure)
+    return NULL;
+
   if (_hurdsig_catch_memory_fault (__environ))
     /* We bombed in getenv.  */
     return NULL;