diff options
author | Ned Ludd <solar@gentoo.org> | 2004-12-20 18:16:49 +0000 |
---|---|---|
committer | Ned Ludd <solar@gentoo.org> | 2004-12-20 18:16:49 +0000 |
commit | 537a24b4208986e0f783dcb862ebc6ba2da96df0 (patch) | |
tree | 87e6fa84c3e73ab1b03706d248828bcebf76f821 /ldso | |
parent | d503d1d6c62506ba6fb51c04a9703039e71d11a9 (diff) |
- dont use dos format
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/include/unsecvars.h | 51 |
1 files changed, 25 insertions, 26 deletions
diff --git a/ldso/include/unsecvars.h b/ldso/include/unsecvars.h index 5380f7363..ec760e274 100644 --- a/ldso/include/unsecvars.h +++ b/ldso/include/unsecvars.h @@ -1,26 +1,25 @@ -/*
- * 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 \
- "LD_AOUT_PRELOAD\0" \
- "LD_AOUT_LIBRARY_PATH\0" \
- "LD_PRELOAD\0" \
- "LD_LIBRARY_PATH\0" \
- "LD_DEBUG\0" \
- "LD_DEBUG_OUTPUT\0" \
- "HOSTALIASES\0" \
- "LOCALDOMAIN\0" \
- "RES_OPTIONS\0" \
- "TMPDIR\0"
-
-/*
- * These environment variables are defined by glibc but ignored in
- * uClibc, but may very well have an equivalent in uClibc.
- *
- * MALLOC_TRACE, RESOLV_HOST_CONF, TZDIR, GCONV_PATH, LD_USE_LOAD_BIAS,
- * LD_PROFILE, LD_ORIGIN_PATH, LOCPATH, NLSPATH
- */
-
+/* + * 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 \ + "LD_AOUT_PRELOAD\0" \ + "LD_AOUT_LIBRARY_PATH\0" \ + "LD_PRELOAD\0" \ + "LD_LIBRARY_PATH\0" \ + "LD_DEBUG\0" \ + "LD_DEBUG_OUTPUT\0" \ + "HOSTALIASES\0" \ + "LOCALDOMAIN\0" \ + "RES_OPTIONS\0" \ + "TMPDIR\0" + +/* + * These environment variables are defined by glibc but ignored in + * uClibc, but may very well have an equivalent in uClibc. + * + * MALLOC_TRACE, RESOLV_HOST_CONF, TZDIR, GCONV_PATH, LD_USE_LOAD_BIAS, + * LD_PROFILE, LD_ORIGIN_PATH, LOCPATH, NLSPATH + */ |