mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
0d5f9ea97f
GLIBC_TUNABLES scrubbing happens earlier than envvar scrubbing and some tunables are required to propagate past setxid boundary, like their env_alias. Rely on tunable scrubbing to clean out GLIBC_TUNABLES like before, restoring behaviour in glibc 2.37 and earlier. Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org> Reviewed-by: Carlos O'Donell <carlos@redhat.com>
27 lines
892 B
C
27 lines
892 B
C
/* 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. */
|
|
#define UNSECURE_ENVVARS \
|
|
"GCONV_PATH\0" \
|
|
"GETCONF_DIR\0" \
|
|
"HOSTALIASES\0" \
|
|
"LD_AUDIT\0" \
|
|
"LD_DEBUG\0" \
|
|
"LD_DEBUG_OUTPUT\0" \
|
|
"LD_DYNAMIC_WEAK\0" \
|
|
"LD_HWCAP_MASK\0" \
|
|
"LD_LIBRARY_PATH\0" \
|
|
"LD_ORIGIN_PATH\0" \
|
|
"LD_PRELOAD\0" \
|
|
"LD_PROFILE\0" \
|
|
"LD_SHOW_AUXV\0" \
|
|
"LOCALDOMAIN\0" \
|
|
"LOCPATH\0" \
|
|
"MALLOC_TRACE\0" \
|
|
"NIS_PATH\0" \
|
|
"NLSPATH\0" \
|
|
"RESOLV_HOST_CONF\0" \
|
|
"RES_OPTIONS\0" \
|
|
"TMPDIR\0" \
|
|
"TZDIR\0"
|