Searched refs:default_range (Results 1 – 13 of 13) sorted by relevance
616 int default_range = 0; in mls_compute_sid() local634 default_range = cladatum->default_range; in mls_compute_sid()637 switch (default_range) { in mls_compute_sid()
233 if (olddatum->default_range) { in class_copy_default_new_object()234 if (newdatum->default_range && olddatum->default_range != newdatum->default_range) { in class_copy_default_new_object()238 newdatum->default_range = olddatum->default_range; in class_copy_default_new_object()
401 if (olddatum->default_range) { in class_copy_default_new_object()402 if (newdatum->default_range && olddatum->default_range != newdatum->default_range) { in class_copy_default_new_object()406 newdatum->default_range = olddatum->default_range; in class_copy_default_new_object()
665 switch (class->default_range) { in write_default_range_to_cil()685 sepol_log_err("Unknown default type value: %i", class->default_range); in write_default_range_to_cil()739 if (class->default_range) { in write_default_rules_to_cil()
636 switch (class->default_range) { in write_default_range_to_conf()656 sepol_log_err("Unknown default type value: %i", class->default_range); in write_default_range_to_conf()710 if (class->default_range != 0) { in write_default_rules_to_conf()
2009 if (class->default_range != 0) { in class_to_cil()2010 switch (class->default_range) { in class_to_cil()2018 log_err("Unknown default range value: %i", class->default_range); in class_to_cil()
1035 buf[2] = cpu_to_le32(cladatum->default_range); in class_write()
2265 cladatum->default_range = le32_to_cpu(buf[2]); in class_read()
246 default_range |
480 if (cladatum->default_range && cladatum->default_range != which) { in define_default_range()484 cladatum->default_range = which; in define_default_range()
130 char default_range; member
3590 if (!sepol_class->default_range) { in cil_defaultrange_to_policydb()3591 sepol_class->default_range = def->object_range; in cil_defaultrange_to_policydb()3592 } else if (sepol_class->default_range != (char)def->object_range) { in cil_defaultrange_to_policydb()
1331 line += " {0};".format(default.default_range)