mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
* hurd/hurdsig.c (_hurdsig_getenv): Always return null if
__libc_enable_secure is set.
This commit is contained in:
parent
7f1deee65e
commit
a753ffb296
@ -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'.
|
||||
|
7
NEWS
7
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
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user