From: Roland McGrath Date: Wed, 24 Jul 2002 23:05:17 +0000 (+0000) Subject: * hurd/hurdsig.c (_hurdsig_getenv): Always return null if X-Git-Tag: cvs/glibc-2-3~612 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a753ffb296bb8c18c876d978e5878e6bd3538d2c;p=platform%2Fupstream%2Fglibc.git * hurd/hurdsig.c (_hurdsig_getenv): Always return null if __libc_enable_secure is set. --- diff --git a/ChangeLog b/ChangeLog index eb30b68..5a719a4 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 5881885..b983f76 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 1bfc093..2507a8b 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;