HomeSort by relevance Sort by last modified time
    Searched defs:roletrans (Results 1 - 5 of 5) sorted by null

  /external/selinux/libsepol/cil/src/
cil_policy.c 1032 struct cil_roletransition *roletrans = (struct cil_roletransition*)current->data; local
1033 char *src_str = ((struct cil_symtab_datum*)roletrans->src)->name;
1034 char *tgt_str = ((struct cil_symtab_datum*)roletrans->tgt)->name;
1035 char *obj_str = ((struct cil_symtab_datum*)roletrans->obj)->name;
1036 char *result_str = ((struct cil_symtab_datum*)roletrans->result)->name;
    [all...]
cil_tree.c 725 struct cil_roletransition *roletrans = node->data; local
728 if (roletrans->src != NULL) {
729 cil_log(CIL_INFO, " %s", roletrans->src->datum.name);
731 cil_log(CIL_INFO, " %s", roletrans->src_str);
734 if (roletrans->tgt != NULL) {
735 cil_log(CIL_INFO, " %s", ((struct cil_symtab_datum *)roletrans->tgt)->name);
737 cil_log(CIL_INFO, " %s", roletrans->tgt_str);
740 if (roletrans->obj != NULL) {
741 cil_log(CIL_INFO, " %s", roletrans->obj->datum.name);
743 cil_log(CIL_INFO, " %s", roletrans->obj_str)
    [all...]
cil_verify.c 821 struct cil_roletransition *roletrans = NULL; local
826 roletrans = node->data;
827 ckey.key1 = (intptr_t)roletrans->src;
828 ckey.key2 = (intptr_t)roletrans->tgt;
829 ckey.key3 = (intptr_t)roletrans->obj;
    [all...]
cil_build_ast.c 1638 struct cil_roletransition *roletrans = NULL; local
    [all...]
cil_resolve_ast.c 934 struct cil_roletransition *roletrans = current->data; local
942 rc = cil_resolve_name(current, roletrans->src_str, CIL_SYM_ROLES, extra_args, &src_datum);
946 roletrans->src = (struct cil_role*)src_datum;
948 rc = cil_resolve_name(current, roletrans->tgt_str, CIL_SYM_TYPES, extra_args, &tgt_datum);
952 roletrans->tgt = tgt_datum;
955 rc = cil_resolve_name(current, roletrans->obj_str, CIL_SYM_CLASSES, extra_args, &obj_datum);
959 roletrans->obj = (struct cil_class*)obj_datum;
961 rc = cil_resolve_name(current, roletrans->result_str, CIL_SYM_ROLES, extra_args, &result_datum);
969 cil_log(CIL_ERR, "roletransition must result in a role, but %s is a %s\n", roletrans->result_str, cil_node_to_string(node));
972 roletrans->result = (struct cil_role*)result_datum
    [all...]

Completed in 848 milliseconds