Home
last modified time | relevance | path

Searched refs:comkey (Results 1 – 9 of 9) sorted by relevance

/external/selinux/libsepol/src/
Dpolicydb.c1324 if (cladatum->comkey) in class_destroy()
1325 free(cladatum->comkey); in class_destroy()
2273 cladatum->comkey = malloc(len2 + 1); in class_read()
2274 if (!cladatum->comkey) in class_read()
2276 rc = next_entry(cladatum->comkey, fp, len2); in class_read()
2279 cladatum->comkey[len2] = 0; in class_read()
2282 cladatum->comkey); in class_read()
2284 ERR(fp->handle, "unknown common %s", cladatum->comkey); in class_read()
Dexpand.c477 if (class->comkey) { in class_copy_callback()
478 new_class->comkey = strdup(class->comkey); in class_copy_callback()
479 if (!new_class->comkey) { in class_copy_callback()
486 new_class->comkey); in class_copy_callback()
489 new_class->comkey); in class_copy_callback()
Dwrite.c975 if (cladatum->comkey) in class_write()
976 len2 = strlen(cladatum->comkey); in class_write()
1003 if (cladatum->comkey) { in class_write()
1004 items = put_entry(cladatum->comkey, 1, len2, fp); in class_write()
Dkernel_to_conf.c525 name = class->comkey; in write_class_and_common_rules_to_conf()
553 if (class->comkey) { in write_class_and_common_rules_to_conf()
554 sepol_printf(out, " inherits %s", class->comkey); in write_class_and_common_rules_to_conf()
Dkernel_to_cil.c481 if (class->comkey != NULL) { in write_class_decl_rules_to_cil()
482 sepol_printf(out, "(classcommon %s %s)\n", name, class->comkey); in write_class_decl_rules_to_cil()
495 name = class->comkey; in write_class_decl_rules_to_cil()
Dmodule_to_cil.c1992 if (class->comkey != NULL) { in class_to_cil()
1993 cil_println(indent, "(classcommon %s %s)", key, class->comkey); in class_to_cil()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h115 char *comkey; /* common name */ member
/external/selinux/checkpolicy/
Dpolicy_define.c636 cladatum->comkey = id; in define_av_perms()
/external/selinux/libsepol/cil/src/
Dcil_binary.c336 sepol_class->comkey = cil_strdup(key); in cil_classorder_to_policydb()