mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
Update.
* resolv/res_query.c: Use simply getenv() for HOSTALIASES. * sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
2001-01-08 Ulrich Drepper <drepper@redhat.com>
|
||||
|
||||
* resolv/res_query.c: Use simply getenv() for HOSTALIASES.
|
||||
* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add HOSTALIASES.
|
||||
|
||||
* sysdeps/generic/unsecvars.h (UNSECURE_ENVVARS): Add missing comma.
|
||||
|
||||
* malloc/memusage.c (me): Use access() to determine whether we
|
||||
|
@@ -2417,9 +2417,9 @@ abmon "<U006C><U0065><U0064>";/
|
||||
"<U006C><U0069><U0073>";/
|
||||
"<U0070><U0072><U006F>"
|
||||
|
||||
% Zde jsou zkratky doporu<72>en<65> poradnou <20>stavu pro Jazyk <20>esk<73>
|
||||
% Ano vid<69>te spr<70>vn<76>, jsou to anglick<63> zkratky. Mysl<73>m si, <20>e nejsou
|
||||
% a<> tak za<7A>it<69>, aby se pou<6F><75>vali. Pokud <20>lov<6F>k nezn<7A> cel<65> n<>zvy m<>s<EFBFBD>c<EFBFBD>
|
||||
% Zde jsou zkratky doporu<72>en<65> poradnou <20>stavu pro Jazyk <20>esk<73>.
|
||||
% Ano, vid<69>te spr<70>vn<76>, jsou to anglick<63> zkratky. Mysl<73>m si, <20>e nejsou
|
||||
% a<> tak za<7A>it<69>, aby se pou<6F><75>valy. Pokud <20>lov<6F>k nezn<7A> cel<65> n<>zvy m<>s<EFBFBD>c<EFBFBD>,
|
||||
% t<><74>ko tyto zkratky odvozuje.
|
||||
%abmon "<U004A><U0061><U006E>";/
|
||||
% "<U0046><U0065><U0062>";/
|
||||
|
@@ -371,7 +371,7 @@ res_hostalias(const res_state statp, const char *name, char *dst, size_t siz) {
|
||||
|
||||
if (statp->options & RES_NOALIASES)
|
||||
return (NULL);
|
||||
file = __secure_getenv("HOSTALIASES");
|
||||
file = getenv("HOSTALIASES");
|
||||
if (file == NULL || (fp = fopen(file, "r")) == NULL)
|
||||
return (NULL);
|
||||
setbuf(fp, NULL);
|
||||
|
@@ -1,6 +1,7 @@
|
||||
/* Environment variable to be removed for SUID programs. */
|
||||
#define UNSECURE_ENVVARS \
|
||||
"GCONV_PATH", \
|
||||
"HOSTALIASES", \
|
||||
"LOCALDOMAIN", \
|
||||
"LOCPATH", \
|
||||
"MALLOC_TRACE", \
|
||||
|
Reference in New Issue
Block a user