1 #if !HAVE_TUNABLES
2 # define GLIBC_TUNABLES_ENVVAR "GLIBC_TUNABLES\0"
3 #else
4 # define GLIBC_TUNABLES_ENVVAR
5 #endif
6 
7 /* Environment variable to be removed for SUID programs.  The names are
8    all stuffed in a single string which means they have to be terminated
9    with a '\0' explicitly.  */
10 #define UNSECURE_ENVVARS \
11   "GCONV_PATH\0"							      \
12   "GETCONF_DIR\0"							      \
13   GLIBC_TUNABLES_ENVVAR							      \
14   "HOSTALIASES\0"							      \
15   "LD_AUDIT\0"								      \
16   "LD_DEBUG\0"								      \
17   "LD_DEBUG_OUTPUT\0"							      \
18   "LD_DYNAMIC_WEAK\0"							      \
19   "LD_HWCAP_MASK\0"							      \
20   "LD_LIBRARY_PATH\0"							      \
21   "LD_ORIGIN_PATH\0"							      \
22   "LD_PRELOAD\0"							      \
23   "LD_PROFILE\0"							      \
24   "LD_SHOW_AUXV\0"							      \
25   "LOCALDOMAIN\0"							      \
26   "LOCPATH\0"								      \
27   "MALLOC_TRACE\0"							      \
28   "NIS_PATH\0"								      \
29   "NLSPATH\0"								      \
30   "RESOLV_HOST_CONF\0"							      \
31   "RES_OPTIONS\0"							      \
32   "TMPDIR\0"								      \
33   "TZDIR\0"
34