aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--NEWS7
-rw-r--r--hurd/hurdsig.c3
3 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index eb30b68569..5a719a4ef1 100644
--- 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 5881885546..b983f76a4a 100644
--- 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>.
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.
Version 2.2.5
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index 1bfc093528..2507a8b8a9 100644
--- a/hurd/hurdsig.c
+++ b/hurd/hurdsig.c
@@ -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;