Commit b92b1dcd authored by topjohnwu's avatar topjohnwu

cil: Allow redeclare types[attributes] and disable neverallow

parent 1472dbb2
...@@ -220,6 +220,8 @@ static int compile_cil() { ...@@ -220,6 +220,8 @@ static int compile_cil() {
cil_db_init(&db); cil_db_init(&db);
cil_set_mls(db, 1); 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_target_platform(db, SEPOL_TARGET_SELINUX);
cil_set_policy_version(db, POLICYDB_VERSION_XPERMS_IOCTL); cil_set_policy_version(db, POLICYDB_VERSION_XPERMS_IOCTL);
cil_set_attrs_expand_generated(db, 0); cil_set_attrs_expand_generated(db, 0);
......
Subproject commit 2fefdfc40fe5e675253fcaf03558ca3dca0a0550 Subproject commit 8e849a5639cf217e9c3c4ac081d8c14a12a3ae03
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment