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.c401 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()
Dkernel_to_cil.c665 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()
Dkernel_to_conf.c636 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()
Dmodule_to_cil.c2009 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()
Dwrite.c1035 buf[2] = cpu_to_le32(cladatum->default_range); in class_write()
Dpolicydb.c2265 cladatum->default_range = le32_to_cpu(buf[2]); in class_read()
/external/selinux/checkpolicy/
Dpolicy_scan.l246 default_range |
Dpolicy_define.c480 if (cladatum->default_range && cladatum->default_range != which) { in define_default_range()
484 cladatum->default_range = which; in define_default_range()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h130 char default_range; member
/external/selinux/libsepol/cil/src/
Dcil_binary.c3590 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()
/external/selinux/prebuilts/bin/
Dsediff.py1331 line += " {0};".format(default.default_range)