unsecvars.h 708 B

1234567891011121314151617181920212223242526
  1. /*
  2. * Environment variable to be removed for SUID programs. The names are all
  3. * stuffed in a single string which means they have to be terminated with a
  4. * '\0' explicitly.
  5. */
  6. #define UNSECURE_ENVVARS \
  7. "LD_AOUT_PRELOAD\0" \
  8. "LD_AOUT_LIBRARY_PATH\0" \
  9. "LD_PRELOAD\0" \
  10. "LD_LIBRARY_PATH\0" \
  11. "LD_DEBUG\0" \
  12. "LD_DEBUG_OUTPUT\0" \
  13. "HOSTALIASES\0" \
  14. "LOCALDOMAIN\0" \
  15. "RES_OPTIONS\0" \
  16. "TMPDIR\0"
  17. /*
  18. * These environment variables are defined by glibc but ignored in
  19. * uClibc, but may very well have an equivalent in uClibc.
  20. *
  21. * MALLOC_TRACE, RESOLV_HOST_CONF, TZDIR, GCONV_PATH, LD_USE_LOAD_BIAS,
  22. * LD_PROFILE, LD_ORIGIN_PATH, LOCPATH, NLSPATH
  23. */