mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 09:43:32 +08:00
2002-07-19 Roland McGrath <roland@frob.com>
* hurd/hurdsig.c (_hurdsig_getenv): Always return null if __libc_enable_secure is set.
This commit is contained in:
parent
ec8d56afda
commit
7dde0c3d1a
@ -1348,6 +1348,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