Set user groups in exec_setup() if they were not already set by

policy_init_session().  Bug #749
This commit is contained in:
Todd C. Miller
2016-06-22 10:21:29 -06:00
parent f98b481af2
commit ed9b457eb2
2 changed files with 45 additions and 23 deletions

View File

@@ -129,6 +129,7 @@ struct user_details {
#define CD_SUDOEDIT_COPY 0x08000
#define CD_SUDOEDIT_FOLLOW 0x10000
#define CD_SUDOEDIT_CHECKDIR 0x20000
#define CD_SET_GROUPS 0x40000
struct preserved_fd {
TAILQ_ENTRY(preserved_fd) entries;