diff options
author | Eric Paris <eparis@redhat.com> | 2012-03-20 14:35:12 -0400 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2012-04-09 12:22:48 -0400 |
commit | eed7795d0a2c9b2e934afc088e903fa2c17b7958 (patch) | |
tree | 8f402c793774abfea12fd86bec741f0056302324 /security/selinux/ss/policydb.h | |
parent | aa893269de6277b44be88e25dcd5331c934c29c4 (diff) |
SELinux: add default_type statements
Because Fedora shipped userspace based on my development tree we now
have policy version 27 in the wild defining only default user, role, and
range. Thus to add default_type we need a policy.28.
Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'security/selinux/ss/policydb.h')
-rw-r--r-- | security/selinux/ss/policydb.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/security/selinux/ss/policydb.h b/security/selinux/ss/policydb.h index a949f1ad43bb..da637471d4ce 100644 --- a/security/selinux/ss/policydb.h +++ b/security/selinux/ss/policydb.h | |||
@@ -60,11 +60,12 @@ 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 */ | 63 | /* Options how a new object user, role, and type should be decided */ |
64 | #define DEFAULT_SOURCE 1 | 64 | #define DEFAULT_SOURCE 1 |
65 | #define DEFAULT_TARGET 2 | 65 | #define DEFAULT_TARGET 2 |
66 | char default_user; | 66 | char default_user; |
67 | char default_role; | 67 | char default_role; |
68 | char default_type; | ||
68 | /* Options how a new object range should be decided */ | 69 | /* Options how a new object range should be decided */ |
69 | #define DEFAULT_SOURCE_LOW 1 | 70 | #define DEFAULT_SOURCE_LOW 1 |
70 | #define DEFAULT_SOURCE_HIGH 2 | 71 | #define DEFAULT_SOURCE_HIGH 2 |