Convert perm setting to push/pop model; still needs some work
Use the stashed runas groups instead of using getgrouplist() Reset perms to the initial value on error
This commit is contained in:
@@ -236,8 +236,9 @@ int sudo_file_display_cmnd(struct sudo_nss *, struct passwd *);
|
||||
int sudo_file_display_defaults(struct sudo_nss *, struct passwd *, struct lbuf *);
|
||||
int sudo_file_display_bound_defaults(struct sudo_nss *, struct passwd *, struct lbuf *);
|
||||
int sudo_file_display_privs(struct sudo_nss *, struct passwd *, struct lbuf *);
|
||||
void rewind_perms(void);
|
||||
int set_perms(int);
|
||||
int restore_perms(void);
|
||||
void restore_perms(void);
|
||||
void remove_timestamp(int);
|
||||
int check_secureware(char *);
|
||||
void sia_attempt_auth(void);
|
||||
|
Reference in New Issue
Block a user