1 #include <stdlib.h> 2 #include <unistd.h> 3 secure_getenv(const char * name)4 char *secure_getenv(const char *name) { 5 if (issetugid()) return NULL; 6 return getenv(name); 7 } 8