Remove format_env()
Add sudo_setenv() to replace most format_env() + insert_env() combinations. insert_env() no longer takes a struct environment *
This commit is contained in:
1
sudo.h
1
sudo.h
@@ -262,6 +262,7 @@ int gettime __P((struct timespec *));
|
||||
FILE *open_sudoers __P((const char *, int *));
|
||||
void display_privs __P((VOID *, struct passwd *));
|
||||
int display_cmnd __P((VOID *, struct passwd *));
|
||||
void sudo_setenv __P((const char *, const char *, int));
|
||||
void sudo_setgrent __P((void));
|
||||
void sudo_endgrent __P((void));
|
||||
void sudo_setpwent __P((void));
|
||||
|
Reference in New Issue
Block a user