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" \
|
2023-11-06 20:25:35 +00:00
|
|
|
"GLIBC_TUNABLES\0" \
|
2005-01-06 22:40:27 +00:00
|
|
|
"HOSTALIASES\0" \
|
|
|
|
"LD_AUDIT\0" \
|
2023-11-22 20:43:24 +00:00
|
|
|
"LD_BIND_NOT\0" \
|
|
|
|
"LD_BIND_NOW\0" \
|
2004-12-22 20:10:10 +00:00
|
|
|
"LD_DEBUG\0" \
|
|
|
|
"LD_DEBUG_OUTPUT\0" \
|
|
|
|
"LD_DYNAMIC_WEAK\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" \
|
2023-11-22 20:43:23 +00:00
|
|
|
"LD_VERBOSE\0" \
|
|
|
|
"LD_WARN\0" \
|
2001-11-06 00:16:32 +00:00
|
|
|
"LOCALDOMAIN\0" \
|
|
|
|
"LOCPATH\0" \
|
2023-11-06 20:25:37 +00:00
|
|
|
"MALLOC_ARENA_MAX\0" \
|
|
|
|
"MALLOC_ARENA_TEST\0" \
|
|
|
|
"MALLOC_MMAP_MAX_\0" \
|
|
|
|
"MALLOC_MMAP_THRESHOLD_\0" \
|
|
|
|
"MALLOC_PERTURB_\0" \
|
|
|
|
"MALLOC_TOP_PAD_\0" \
|
2001-11-06 00:16:32 +00:00
|
|
|
"MALLOC_TRACE\0" \
|
2023-11-06 20:25:37 +00:00
|
|
|
"MALLOC_TRIM_THRESHOLD_\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"
|