Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/src/
Dexpand.c510 if (class->comkey) { in class_copy_callback()
511 new_class->comkey = strdup(class->comkey); in class_copy_callback()
512 if (!new_class->comkey) { in class_copy_callback()
519 new_class->comkey); in class_copy_callback()
522 new_class->comkey); in class_copy_callback()
Dpolicydb.c1353 if (cladatum->comkey) in class_destroy()
1354 free(cladatum->comkey); in class_destroy()
2285 cladatum->comkey = malloc(len2 + 1); in class_read()
2286 if (!cladatum->comkey) in class_read()
2288 rc = next_entry(cladatum->comkey, fp, len2); in class_read()
2291 cladatum->comkey[len2] = 0; in class_read()
2294 cladatum->comkey); in class_read()
2296 ERR(fp->handle, "unknown common %s", cladatum->comkey); in class_read()
Dwrite.c1040 if (cladatum->comkey) in class_write()
1041 len2 = strlen(cladatum->comkey); in class_write()
1068 if (cladatum->comkey) { in class_write()
1069 items = put_entry(cladatum->comkey, 1, len2, fp); in class_write()
Dkernel_to_conf.c566 name = class->comkey; in write_class_and_common_rules_to_conf()
595 if (class->comkey) { in write_class_and_common_rules_to_conf()
596 sepol_printf(out, " inherits %s", class->comkey); in write_class_and_common_rules_to_conf()
Dkernel_to_cil.c503 if (class->comkey != NULL) { in write_class_decl_rules_to_cil()
504 sepol_printf(out, "(classcommon %s %s)\n", name, class->comkey); in write_class_decl_rules_to_cil()
518 name = class->comkey; in write_class_decl_rules_to_cil()
Dmodule_to_cil.c2006 if (class->comkey != NULL) { in class_to_cil()
2007 cil_println(indent, "(classcommon %s %s)", key, class->comkey); in class_to_cil()
/third_party/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h115 char *comkey; /* common name */ member
/third_party/selinux/checkpolicy/
Dpolicy_define.c635 cladatum->comkey = id; in define_av_perms()
/third_party/selinux/libsepol/cil/src/
Dcil_binary.c331 sepol_class->comkey = cil_strdup(key); in cil_classorder_to_policydb()
/third_party/libbpf/.github/actions/build-selftests/
Dvmlinux.h54141 char *comkey; member