2017-02-02 10:18:06 +00:00
|
|
|
#if !HAVE_TUNABLES
|
|
|
|
# define GLIBC_TUNABLES_ENVVAR "GLIBC_TUNABLES\0"
|
|
|
|
#else
|
|
|
|
# define GLIBC_TUNABLES_ENVVAR
|
|
|
|
#endif
|
|
|
|
|
2001-11-06 00:16:32 +00:00
|
|
|
/* Environment variable to be removed for SUID programs. The names are
|
|
|
|
all stuffed in a single string which means they have to be terminated
|
|
|
|
with a '\0' explicitly. */
|
2000-09-26 09:46:55 +00:00
|
|
|
#define UNSECURE_ENVVARS \
|
2005-01-06 22:40:27 +00:00
|
|
|
"GCONV_PATH\0" \
|
|
|
|
"GETCONF_DIR\0" \
|
2017-02-02 10:18:06 +00:00
|
|
|
GLIBC_TUNABLES_ENVVAR \
|
2005-01-06 22:40:27 +00:00
|
|
|
"HOSTALIASES\0" \
|
|
|
|
"LD_AUDIT\0" \
|
2004-12-22 20:10:10 +00:00
|
|
|
"LD_DEBUG\0" \
|
|
|
|
"LD_DEBUG_OUTPUT\0" \
|
|
|
|
"LD_DYNAMIC_WEAK\0" \
|
2017-03-07 15:22:04 +00:00
|
|
|
"LD_HWCAP_MASK\0" \
|
2005-01-06 22:40:27 +00:00
|
|
|
"LD_LIBRARY_PATH\0" \
|
|
|
|
"LD_ORIGIN_PATH\0" \
|
|
|
|
"LD_PRELOAD\0" \
|
|
|
|
"LD_PROFILE\0" \
|
2004-12-22 20:10:10 +00:00
|
|
|
"LD_SHOW_AUXV\0" \
|
2001-11-06 00:16:32 +00:00
|
|
|
"LOCALDOMAIN\0" \
|
|
|
|
"LOCPATH\0" \
|
|
|
|
"MALLOC_TRACE\0" \
|
2006-10-11 16:29:13 +00:00
|
|
|
"NIS_PATH\0" \
|
2001-11-06 00:16:32 +00:00
|
|
|
"NLSPATH\0" \
|
|
|
|
"RESOLV_HOST_CONF\0" \
|
|
|
|
"RES_OPTIONS\0" \
|
|
|
|
"TMPDIR\0" \
|
|
|
|
"TZDIR\0"
|