secure_getenv.c 136 B

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