aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/ss/policydb.h
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux/ss/policydb.h')
-rw-r--r--security/selinux/ss/policydb.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/security/selinux/ss/policydb.h b/security/selinux/ss/policydb.h
index b846c0387180..a949f1ad43bb 100644
--- a/security/selinux/ss/policydb.h
+++ b/security/selinux/ss/policydb.h
@@ -60,6 +60,19 @@ struct class_datum {
60 struct symtab permissions; /* class-specific permission symbol table */ 60 struct symtab permissions; /* class-specific permission symbol table */
61 struct constraint_node *constraints; /* constraints on class permissions */ 61 struct constraint_node *constraints; /* constraints on class permissions */
62 struct constraint_node *validatetrans; /* special transition rules */ 62 struct constraint_node *validatetrans; /* special transition rules */
63 /* Options how a new object user and role should be decided */
64#define DEFAULT_SOURCE 1
65#define DEFAULT_TARGET 2
66 char default_user;
67 char default_role;
68/* Options how a new object range should be decided */
69#define DEFAULT_SOURCE_LOW 1
70#define DEFAULT_SOURCE_HIGH 2
71#define DEFAULT_SOURCE_LOW_HIGH 3
72#define DEFAULT_TARGET_LOW 4
73#define DEFAULT_TARGET_HIGH 5
74#define DEFAULT_TARGET_LOW_HIGH 6
75 char default_range;
63}; 76};
64 77
65/* Role attributes */ 78/* Role attributes */