unsecvars.h 924 B

1234567891011121314151617181920212223242526272829303132
  1. /* vi: set sw=4 ts=4: */
  2. /*
  3. * Copyright (C) 2000-2005 by Erik Andersen <andersen@codepoet.org>
  4. *
  5. * GNU Lesser General Public License version 2.1 or later.
  6. */
  7. /*
  8. * Environment variable to be removed for SUID programs. The names are all
  9. * stuffed in a single string which means they have to be terminated with a
  10. * '\0' explicitly.
  11. */
  12. #define UNSECURE_ENVVARS \
  13. "LD_PRELOAD\0" \
  14. "LD_LIBRARY_PATH\0" \
  15. "LD_DEBUG\0" \
  16. "LD_DEBUG_OUTPUT\0" \
  17. "LD_TRACE_LOADED_OBJECTS\0" \
  18. "TMPDIR\0"
  19. /*
  20. * LD_TRACE_LOADED_OBJECTS is not in glibc-2.3.5's unsecvars.h
  21. * though used by ldd
  22. *
  23. * These environment variables are defined by glibc but ignored in
  24. * uClibc, but may very well have an equivalent in uClibc.
  25. *
  26. * LD_ORIGIN_PATH, LD_PROFILE, LD_USE_LOAD_BIAS, LD_DYNAMIC_WEAK, LD_SHOW_AUXV,
  27. * GCONV_PATH, GETCONF_DIR, HOSTALIASES, LOCALDOMAIN, LOCPATH, MALLOC_TRACE,
  28. * NLSPATH, RESOLV_HOST_CONF, RES_OPTIONS, TZDIR
  29. */