From a753ffb296bb8c18c876d978e5878e6bd3538d2c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 24 Jul 2002 23:05:17 +0000 Subject: * hurd/hurdsig.c (_hurdsig_getenv): Always return null if __libc_enable_secure is set. --- ChangeLog | 5 +++++ NEWS | 7 +++++-- hurd/hurdsig.c | 3 +++ 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 + + * hurd/hurdsig.c (_hurdsig_getenv): Always return null if + __libc_enable_secure is set. + 2002-07-24 Roland McGrath Added 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 -. Questions and suggestions should be send to -. +. Please send questions and suggestions to . 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 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; -- cgit 1.4.1