summaryrefslogtreecommitdiff
path: root/libc/stdlib/secure_getenv.c
blob: 41cb622c820ce8845f0cdc68c97400225fd67e37 (plain)
1
2
3
4
5
6
7
8

#include <stdlib.h>

char *secure_getenv(const char *name) {
	if (issetugid()) return NULL;
	return getenv(name);
}