Home
last modified time | relevance | path

Searched refs:default_range (Results 1 – 13 of 13) sorted by relevance

/external/selinux/libsepol/src/
Dmls.c616 int default_range = 0; in mls_compute_sid() local
634 default_range = cladatum->default_range; in mls_compute_sid()
637 switch (default_range) { in mls_compute_sid()
Dlink.c233 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()
Dexpand.c402 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()
Dkernel_to_conf.c653 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()
Dkernel_to_cil.c682 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()
Dmodule_to_cil.c2047 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()
Dwrite.c1037 buf[2] = cpu_to_le32(cladatum->default_range); in class_write()
Dpolicydb.c2311 cladatum->default_range = le32_to_cpu(buf[2]); in class_read()
/external/selinux/checkpolicy/
Dpolicy_scan.l251 default_range |
Dpolicy_define.c484 if (cladatum->default_range && cladatum->default_range != which) { in define_default_range()
488 cladatum->default_range = which; in define_default_range()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h133 char default_range; member
/external/selinux/libsepol/cil/src/
Dcil_binary.c3665 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()
/external/selinux/prebuilts/bin/
Dsediff.py1331 line += " {0};".format(default.default_range)