unsecvars.h 697 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. "LD_TRACE_LOADED_OBJECTS\0" \
  14. "HOSTALIASES\0" \
  15. "LOCALDOMAIN\0" \
  16. "RES_OPTIONS\0" \
  17. "TMPDIR\0"
  18. /*
  19. * These environment variables are defined by glibc but ignored in
  20. * uClibc, but may very well have an equivalent in uClibc.
  21. *
  22. * MALLOC_TRACE, RESOLV_HOST_CONF, TZDIR, GCONV_PATH, LD_USE_LOAD_BIAS,
  23. * LD_PROFILE, LD_ORIGIN_PATH, LOCPATH, NLSPATH
  24. */