Return to env.c CVS log | Up to [local] / src / usr.bin / doas |
version 1.5, 2016/09/15 00:58:23 | version 1.6, 2017/04/06 21:12:06 | ||
---|---|---|---|
|
|
||
} | } | ||
static struct env * | static struct env * | ||
createenv(struct rule *rule) | createenv(const struct rule *rule) | ||
{ | { | ||
struct env *env; | struct env *env; | ||
u_int i; | u_int i; | ||
|
|
||
} | } | ||
char ** | char ** | ||
prepenv(struct rule *rule) | prepenv(const struct rule *rule) | ||
{ | { | ||
static const char *safeset[] = { | static const char *safeset[] = { | ||
"DISPLAY", "HOME", "LOGNAME", "MAIL", | "DISPLAY", "HOME", "LOGNAME", "MAIL", |