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()
402 if (olddatum->default_range) { in class_copy_default_new_object()403 if (newdatum->default_range && olddatum->default_range != newdatum->default_range) { in class_copy_default_new_object()407 newdatum->default_range = olddatum->default_range; in class_copy_default_new_object()
653 switch (class->default_range) { in write_default_range_to_conf()673 sepol_log_err("Unknown default type value: %i", class->default_range); in write_default_range_to_conf()727 if (class->default_range != 0) { in write_default_rules_to_conf()
682 switch (class->default_range) { in write_default_range_to_cil()702 sepol_log_err("Unknown default type value: %i", class->default_range); in write_default_range_to_cil()756 if (class->default_range) { in write_default_rules_to_cil()
2047 if (class->default_range != 0) { in class_to_cil()2048 switch (class->default_range) { in class_to_cil()2056 log_err("Unknown default range value: %i", class->default_range); in class_to_cil()
1037 buf[2] = cpu_to_le32(cladatum->default_range); in class_write()
2311 cladatum->default_range = le32_to_cpu(buf[2]); in class_read()
251 default_range |
484 if (cladatum->default_range && cladatum->default_range != which) { in define_default_range()488 cladatum->default_range = which; in define_default_range()
133 char default_range; member
3665 if (!sepol_class->default_range) { in cil_defaultrange_to_policydb()3666 sepol_class->default_range = def->object_range; in cil_defaultrange_to_policydb()3667 } else if (sepol_class->default_range != (char)def->object_range) { in cil_defaultrange_to_policydb()
1331 line += " {0};".format(default.default_range)