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:
Roland McGrath 2002-07-24 23:03:46 +00:00
parent ec8d56afda
commit 7dde0c3d1a

View File

@ -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;