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

  /external/selinux/libsepol/cil/src/
cil_binary.h 276 int cil_roletrans_to_policydb(policydb_t *pdb, const struct cil_db *db, struct cil_roletransition *roletrans, hashtab_t role_trans_table);
cil_tree.c 728 struct cil_roletransition *roletrans = node->data; local
731 if (roletrans->src != NULL) {
732 cil_log(CIL_INFO, " %s", roletrans->src->datum.name);
734 cil_log(CIL_INFO, " %s", roletrans->src_str);
737 if (roletrans->tgt != NULL) {
738 cil_log(CIL_INFO, " %s", ((struct cil_symtab_datum *)roletrans->tgt)->name);
740 cil_log(CIL_INFO, " %s", roletrans->tgt_str);
743 if (roletrans->obj != NULL) {
744 cil_log(CIL_INFO, " %s", roletrans->obj->datum.name);
746 cil_log(CIL_INFO, " %s", roletrans->obj_str)
    [all...]
cil_verify.c 825 struct cil_roletransition *roletrans = NULL; local
830 roletrans = node->data;
831 ckey.key1 = (intptr_t)roletrans->src;
832 ckey.key2 = (intptr_t)roletrans->tgt;
833 ckey.key3 = (intptr_t)roletrans->obj;
    [all...]
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_resolve_ast.c 1002 struct cil_roletransition *roletrans = current->data; local
1010 rc = cil_resolve_name(current, roletrans->src_str, CIL_SYM_ROLES, extra_args, &src_datum);
1014 roletrans->src = (struct cil_role*)src_datum;
1016 rc = cil_resolve_name(current, roletrans->tgt_str, CIL_SYM_TYPES, extra_args, &tgt_datum);
1020 roletrans->tgt = tgt_datum;
1023 rc = cil_resolve_name(current, roletrans->obj_str, CIL_SYM_CLASSES, extra_args, &obj_datum);
1027 roletrans->obj = (struct cil_class*)obj_datum;
1029 rc = cil_resolve_name(current, roletrans->result_str, CIL_SYM_ROLES, extra_args, &result_datum);
1037 cil_log(CIL_ERR, "roletransition must result in a role, but %s is a %s\n", roletrans->result_str, cil_node_to_string(node));
1040 roletrans->result = (struct cil_role*)result_datum
    [all...]
cil_build_ast.h 104 void cil_destroy_roletransition(struct cil_roletransition *roletrans);
cil_internal.h 977 void cil_roletransition_init(struct cil_roletransition **roletrans);
cil_build_ast.c 1793 struct cil_roletransition *roletrans = NULL; local
    [all...]
cil_binary.c     [all...]

Completed in 159 milliseconds