secure_getenv.c 118 B

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