cil: Allow redeclare types[attributes] and disable neverallow

This commit is contained in:
topjohnwu 2017-12-22 18:26:51 +08:00
parent 1472dbb291
commit b92b1dcddb
2 changed files with 3 additions and 1 deletions

View File

@ -220,6 +220,8 @@ static int compile_cil() {
cil_db_init(&db);
cil_set_mls(db, 1);
cil_set_multiple_decls(db, 1);
cil_set_disable_neverallow(db, 1);
cil_set_target_platform(db, SEPOL_TARGET_SELINUX);
cil_set_policy_version(db, POLICYDB_VERSION_XPERMS_IOCTL);
cil_set_attrs_expand_generated(db, 0);

@ -1 +1 @@
Subproject commit 2fefdfc40fe5e675253fcaf03558ca3dca0a0550
Subproject commit 8e849a5639cf217e9c3c4ac081d8c14a12a3ae03