diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-05-06 06:34:21 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-05-06 06:34:21 +0000 |
commit | be4d80380a87ab758aecb4e25695b264d36156da (patch) | |
tree | 1eff92d850952d6f9ff8e6e9a1aea83022783092 /include | |
parent | 9946f75ad4b3183a09c3f3ff1c3554613fb4f485 (diff) | |
download | glibc-be4d80380a87ab758aecb4e25695b264d36156da.zip glibc-be4d80380a87ab758aecb4e25695b264d36156da.tar.gz glibc-be4d80380a87ab758aecb4e25695b264d36156da.tar.bz2 |
Update.
* sysdeps/generic/enbl-secure.c (__libc_enable_secure_decided): New
variable.
(__libc_init_secure): Don't do anything if __libc_enable_secure_decided
is nonzero.
* include/unistd.h: Declare __libc_enable_secure_decided.
* elf/dl-support.c (_dl_aux_init): Recognize AT_UID, AT_EUID, AT_GID,
and AT_EGID. If all found, set __libc_enable_secure and
__libc_enable_secure_decided.
Diffstat (limited to 'include')
-rw-r--r-- | include/unistd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h index eba1451..a66e978 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -140,6 +140,7 @@ libc_hidden_proto (__sbrk) and some functions contained in the C library ignore various environment variables that normally affect them. */ extern int __libc_enable_secure; +extern int __libc_enable_secure_decided; #ifdef IS_IN_rtld /* XXX The #ifdef should go. */ extern int __libc_enable_secure_internal attribute_hidden; |