Use a flag bit in struct command_details for selinux instead of a separate

field.
This commit is contained in:
Todd C. Miller
2010-06-09 16:25:44 -04:00
parent 4c1ef12648
commit 34613c8465
4 changed files with 7 additions and 7 deletions

View File

@@ -117,6 +117,7 @@ struct user_details {
#define CD_SET_TIMEOUT 0x0100
#define CD_SUDOEDIT 0x0200
#define CD_BACKGROUND 0x0400
#define CD_RBAC_ENABLED 0x0800
struct command_details {
uid_t uid;
@@ -128,8 +129,7 @@ struct command_details {
int timeout;
int ngroups;
int closefrom;
short flags;
short selinux_enabled;
int flags;
GETGROUPS_T *groups;
const char *command;
const char *cwd;