Home
last modified time | relevance | path

Searched refs:default_role (Results 1 – 10 of 10) sorted by relevance

/external/selinux/secilc/docs/
Dcil_default_object_statements.md101 ;; default_role binder target;
102 ;; default_role zygote target;
103 ;; default_role property_service target;
/external/selinux/checkpolicy/
Dpolicy_scan.l240 default_role |
Dpolicy_define.c412 if (cladatum->default_role && cladatum->default_role != which) { in define_default_role()
416 cladatum->default_role = which; in define_default_role()
/external/selinux/libsepol/src/
Dlink.c219 if (olddatum->default_role) { in class_copy_default_new_object()
220 if (newdatum->default_role && olddatum->default_role != newdatum->default_role) { in class_copy_default_new_object()
224 newdatum->default_role = olddatum->default_role; in class_copy_default_new_object()
Dexpand.c386 if (olddatum->default_role) { in class_copy_default_new_object()
387 if (newdatum->default_role && olddatum->default_role != newdatum->default_role) { in class_copy_default_new_object()
391 newdatum->default_role = olddatum->default_role; in class_copy_default_new_object()
Dmodule_to_cil.c1915 if (class->default_role != 0) { in class_to_cil()
1916 switch (class->default_role) { in class_to_cil()
1920 log_err("Unknown default role value: %i", class->default_role); in class_to_cil()
Dwrite.c1020 buf[1] = cpu_to_le32(cladatum->default_role); in class_write()
Dpolicydb.c2158 cladatum->default_role = le32_to_cpu(buf[1]); in class_read()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h120 char default_role; member
/external/selinux/libsepol/cil/src/
Dcil_binary.c3342 if (!sepol_class->default_role) { in cil_default_to_policydb()
3343 sepol_class->default_role = def->object; in cil_default_to_policydb()
3344 } else if (sepol_class->default_role != (char)def->object) { in cil_default_to_policydb()