Merge in Solaris privilege support by Darren Moffat and John Zolnowsky
This commit is contained in:
@@ -80,6 +80,10 @@ struct sudo_user {
|
||||
#ifdef HAVE_SELINUX
|
||||
char *role;
|
||||
char *type;
|
||||
#endif
|
||||
#ifdef HAVE_PRIV_SET
|
||||
char *privs;
|
||||
char *limitprivs;
|
||||
#endif
|
||||
char *cwd;
|
||||
char *iolog_file;
|
||||
@@ -185,6 +189,8 @@ struct sudo_user {
|
||||
#define user_role (sudo_user.role)
|
||||
#define user_type (sudo_user.type)
|
||||
#define user_closefrom (sudo_user.closefrom)
|
||||
#define runas_privs (sudo_user.privs)
|
||||
#define runas_limitprivs (sudo_user.limitprivs)
|
||||
|
||||
#ifdef __TANDEM
|
||||
# define ROOT_UID 65535
|
||||
|
Reference in New Issue
Block a user