Searched refs:default_role (Results 1 – 16 of 16) sorted by relevance
108 ;; default_role binder target;109 ;; default_role zygote target;110 ;; default_role property_service target;
221 if (olddatum->default_role) { in class_copy_default_new_object()222 if (newdatum->default_role && olddatum->default_role != newdatum->default_role) { in class_copy_default_new_object()226 newdatum->default_role = olddatum->default_role; in class_copy_default_new_object()
421 if (olddatum->default_role) { in class_copy_default_new_object()422 if (newdatum->default_role && olddatum->default_role != newdatum->default_role) { in class_copy_default_new_object()426 newdatum->default_role = olddatum->default_role; in class_copy_default_new_object()
643 switch (class->default_role) { in write_default_role_to_conf()651 sepol_log_err("Unknown default role value: %i", class->default_role); in write_default_role_to_conf()736 if (class->default_role != 0) { in write_default_rules_to_conf()
1379 if (cladatum && cladatum->default_role == DEFAULT_SOURCE) { in sepol_compute_sid()1381 } else if (cladatum && cladatum->default_role == DEFAULT_TARGET) { in sepol_compute_sid()
667 switch (class->default_role) { in write_default_role_to_cil()675 sepol_log_err("Unknown default role value: %i", class->default_role); in write_default_role_to_cil()760 if (class->default_role != 0) { in write_default_rules_to_cil()
2022 if (class->default_role != 0) { in class_to_cil()2023 switch (class->default_role) { in class_to_cil()2027 log_err("Unknown default role value: %i", class->default_role); in class_to_cil()
390 switch (class->default_role) { in validate_class_datum()
1103 buf[1] = cpu_to_le32(cladatum->default_role); in class_write()
2328 cladatum->default_role = le32_to_cpu(buf[1]); in class_read()
261 default_role |
415 if (cladatum->default_role && cladatum->default_role != which) { in define_default_role()419 cladatum->default_role = which; in define_default_role()
124 char default_role; member
95 default_role = 'c:func' variable
3758 if (!sepol_class->default_role) { in cil_default_to_policydb()3759 sepol_class->default_role = def->object; in cil_default_to_policydb()3760 } else if (sepol_class->default_role != (char)def->object) { in cil_default_to_policydb()
54147 char default_role; member