Home
last modified time | relevance | path

Searched refs:cil_resolve_name (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_resolve_ast.c160 rc = cil_resolve_name(current, cp->class_str, CIL_SYM_CLASSES, extra_args, &datum); in cil_resolve_classperms()
189 rc = cil_resolve_name(current, cp_set->set_str, CIL_SYM_CLASSPERMSETS, extra_args, &datum); in cil_resolve_classperms_set()
242 rc = cil_resolve_name(current, cps->set_str, CIL_SYM_CLASSPERMSETS, args, &datum); in cil_resolve_classpermissionset()
290 rc = cil_resolve_name(current, permx->obj_str, CIL_SYM_CLASSES, extra_args, &obj_datum); in cil_resolve_permissionx()
318 rc = cil_resolve_name(current, rule->src_str, CIL_SYM_TYPES, args, &src_datum); in cil_resolve_avrule()
327 rc = cil_resolve_name(current, rule->tgt_str, CIL_SYM_TYPES, args, &tgt_datum); in cil_resolve_avrule()
345 rc = cil_resolve_name(current, rule->perms.x.permx_str, CIL_SYM_PERMX, args, &permx_datum); in cil_resolve_avrule()
374 rc = cil_resolve_name(current, rule->src_str, CIL_SYM_TYPES, extra_args, &src_datum); in cil_resolve_type_rule()
380 rc = cil_resolve_name(current, rule->tgt_str, CIL_SYM_TYPES, extra_args, &tgt_datum); in cil_resolve_type_rule()
386 rc = cil_resolve_name(current, rule->obj_str, CIL_SYM_CLASSES, extra_args, &obj_datum); in cil_resolve_type_rule()
[all …]
Dcil_resolve_ast.h101 int cil_resolve_name(struct cil_tree_node *ast_node, char *name, enum cil_sym_index sym_index, void…
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_resolve_ast.c86 int rc = cil_resolve_name(test_curr, test_alias->type_str, CIL_SYM_TYPES, args, &type_node); in test_cil_resolve_name()
110 int rc = cil_resolve_name(test_curr, test_alias->type_str, CIL_SYM_TYPES, args, &type_node); in test_cil_resolve_name_invalid_type_neg()
5859cil_resolve_name(test_db->ast->root->cl_head->next->next->next, ((struct cil_call*)test_db->ast->r… in test_cil_resolve_call1_unknown_neg()
5988cil_resolve_name(test_db->ast->root->cl_head->next->next->next, new_call->macro_str, CIL_SYM_BLOCK… in test_cil_resolve_call1_paramsflavor_neg()
6019cil_resolve_name(test_db->ast->root->cl_head->next->next->next, new_call->macro_str, CIL_SYM_BLOCK… in test_cil_resolve_call1_unknownflavor_neg()