unsecvars.h 763 B

12345678910111213141516171819202122232425
  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_PRELOAD\0" \
  8. "LD_LIBRARY_PATH\0" \
  9. "LD_DEBUG\0" \
  10. "LD_DEBUG_OUTPUT\0" \
  11. "LD_TRACE_LOADED_OBJECTS\0" \
  12. "TMPDIR\0"
  13. /*
  14. * LD_TRACE_LOADED_OBJECTS is not in glibc-2.3.5's unsecvars.h
  15. * though used by ldd
  16. *
  17. * These environment variables are defined by glibc but ignored in
  18. * uClibc, but may very well have an equivalent in uClibc.
  19. *
  20. * LD_ORIGIN_PATH, LD_PROFILE, LD_USE_LOAD_BIAS, LD_DYNAMIC_WEAK, LD_SHOW_AUXV,
  21. * GCONV_PATH, GETCONF_DIR, HOSTALIASES, LOCALDOMAIN, LOCPATH, MALLOC_TRACE,
  22. * NLSPATH, RESOLV_HOST_CONF, RES_OPTIONS, TZDIR
  23. */