summaryrefslogtreecommitdiffstats
path: root/kernel/scripts/selinux/mdp
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/scripts/selinux/mdp')
-rw-r--r--kernel/scripts/selinux/mdp/mdp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/scripts/selinux/mdp/mdp.c b/kernel/scripts/selinux/mdp/mdp.c
index 62b34ce1f..e10beb11b 100644
--- a/kernel/scripts/selinux/mdp/mdp.c
+++ b/kernel/scripts/selinux/mdp/mdp.c
@@ -98,6 +98,7 @@ int main(int argc, char *argv[])
/* types, roles, and allows */
fprintf(fout, "type base_t;\n");
+ fprintf(fout, "role base_r;\n");
fprintf(fout, "role base_r types { base_t };\n");
for (i = 0; secclass_map[i].name; i++)
fprintf(fout, "allow base_t base_t:%s *;\n",