Lines Matching refs:datum

324 int cil_verify_no_self_reference(struct cil_symtab_datum *datum, struct cil_list *datum_list)  in cil_verify_no_self_reference()  argument
331 if (d == datum) { in cil_verify_no_self_reference()
332 cil_log(CIL_ERR,"Self-reference found for %s\n",datum->name); in cil_verify_no_self_reference()
336 int rc = cil_verify_no_self_reference(datum, i->data); in cil_verify_no_self_reference()
386 cil_tree_log(node, CIL_ERR, "SID %s not in sidorder statement", sid->datum.name); in __cil_verify_ordered_node_helper()
392 cil_tree_log(node, CIL_ERR, "Class %s not in classorder statement", class->datum.name); in __cil_verify_ordered_node_helper()
398 cil_tree_log(node, CIL_ERR, "Category %s not in categoryorder statement", cat->datum.name); in __cil_verify_ordered_node_helper()
404 … cil_tree_log(node, CIL_ERR, "Sensitivity %s not in sensitivityorder statement", sens->datum.name); in __cil_verify_ordered_node_helper()
438 struct cil_tree_node *node = sid->datum.nodes->head->data; in __cil_verify_initsids()
439 cil_tree_log(node, CIL_ERR, "No context assigned to SID %s declared",sid->datum.name); in __cil_verify_initsids()
465 cil_log(CIL_ERR, "Failed to find category %s in category list\n", cat->datum.name); in __cil_verify_cat_in_cats()
482 cil_log(CIL_ERR, "No categories can be used with sensitivity %s\n", sens->datum.name); in __cil_verify_cats_associated_with_sens()
498 cat->datum.name, sens->datum.name); in __cil_verify_cats_associated_with_sens()
530 high->datum.name, low->datum.name); in __cil_verify_levelrange_sensitivity()
617 cil_log(CIL_ERR, "User %s does not have a default level\n", user->datum.name); in __cil_verify_user_pre_eval()
620 cil_log(CIL_ERR, "User %s does not have a level range\n", user->datum.name); in __cil_verify_user_pre_eval()
630 cil_log(CIL_ERR, "Circular bounds found for user %s\n", u1->datum.name); in __cil_verify_user_pre_eval()
657 if (user->range->datum.name == NULL) { in __cil_verify_user_post_eval()
681 cil_log(CIL_ERR, "Circular bounds found for role %s\n", r1->datum.name); in __cil_verify_role()
712 cil_log(CIL_ERR, "Circular bounds found for type %s\n", t1->datum.name); in __cil_verify_type()
771 if (ctx->range->datum.name == NULL) { in __cil_verify_context()
858 struct cil_complex_symtab_datum *datum = NULL; in __cil_verify_rule() local
859 cil_complex_symtab_search(symtab, &ckey, &datum); in __cil_verify_rule()
860 if (datum == NULL) { in __cil_verify_rule()
993 if (if_ctx->datum.name == NULL) { in __cil_verify_netifcon()
1001 if (pkt_ctx->datum.name == NULL) { in __cil_verify_netifcon()
1022 if (!ctx->datum.name) { in __cil_verify_ibendportcon()
1042 if (ctx->datum.name == NULL) { in __cil_verify_genfscon()
1068 if (ctx->datum.name == NULL) { in __cil_verify_filecon()
1089 if (ctx->datum.name == NULL) { in __cil_verify_nodecon()
1110 if (!ctx->datum.name) { in __cil_verify_ibpkeycon()
1130 if (ctx->datum.name == NULL) { in __cil_verify_portcon()
1151 if (ctx->datum.name == NULL) { in __cil_verify_pirqcon()
1172 if (ctx->datum.name == NULL) { in __cil_verify_iomemcon()
1193 if (ctx->datum.name == NULL) { in __cil_verify_ioportcon()
1214 if (ctx->datum.name == NULL) { in __cil_verify_pcidevicecon()
1235 if (ctx->datum.name == NULL) { in __cil_verify_devicetreecon()
1256 if (ctx->datum.name == NULL) { in __cil_verify_fsuse()
1300 …, CIL_ERR, "Invalid permissionx: %s is not a permission of class %s", kind_str, class->datum.name); in __cil_verify_permissionx()
1330 struct cil_tree_node *common_node = common->datum.nodes->head->data; in __cil_verify_class()
1344 if (com_perm->datum.name == class_perm->datum.name) { in __cil_verify_class()
1345 …L_ERR, "Duplicate permissions between %s common and class declarations\n", class_perm->datum.name); in __cil_verify_class()
1364 rc = sepol_polcap_getnum((const char*)polcap->datum.name); in __cil_verify_policycap()
1372 cil_tree_log(node, CIL_ERR, "Invalid policycap (%s)", (const char*)polcap->datum.name); in __cil_verify_policycap()
1559 if (&cmp->datum == orig) { in __cil_verify_classperms()
1572 if (&cp->datum == orig) { in __cil_verify_classperms()
1595 …cil_tree_log(node, CIL_ERR, "Classpermission %s does not have a classpermissionset", cp->datum.nam… in __cil_verify_classpermission()
1600 rc = __cil_verify_classperms(cp->classperms, &cp->datum); in __cil_verify_classpermission()
1602 …cil_tree_log(node, CIL_ERR, "Found circular class permissions involving the set %s",cp->datum.name… in __cil_verify_classpermission()
1625 … "Map class %s does not have a classmapping for %s", map_args->class->datum.name, cmp->datum.name); in __verify_map_perm_classperms()
1630 rc = __cil_verify_classperms(cmp->classperms, &cmp->datum); in __verify_map_perm_classperms()
1632 …sions involving the map class %s and permission %s", map_args->class->datum.name, cmp->datum.name); in __verify_map_perm_classperms()