/external/selinux/libsepol/cil/src/ |
cil_policy.c | 1042 struct cil_roleallow *roleallow = (struct cil_roleallow*)current->data; local 1043 char *src_str = ((struct cil_symtab_datum*)roleallow->src)->name; 1044 char *tgt_str = ((struct cil_symtab_datum*)roleallow->tgt)->name; 1046 fprintf(file_arr[ALLOWS], "roleallow %s %s;\n", src_str, tgt_str); [all...] |
cil_tree.c | 758 struct cil_roleallow *roleallow = node->data; local 759 cil_log(CIL_INFO, "ROLEALLOW:"); 761 if (roleallow->src != NULL) { 762 cil_log(CIL_INFO, " %s", ((struct cil_symtab_datum*)roleallow->src)->name); 764 cil_log(CIL_INFO, " %s", roleallow->src_str); 767 if (roleallow->tgt != NULL) { 768 cil_log(CIL_INFO, " %s", ((struct cil_symtab_datum*)roleallow->tgt)->name); 770 cil_log(CIL_INFO, " %s", roleallow->tgt_str); [all...] |
cil_build_ast.c | 1842 struct cil_roleallow *roleallow = NULL; local [all...] |
cil_resolve_ast.c | 1050 struct cil_roleallow *roleallow = current->data; local 1055 rc = cil_resolve_name(current, roleallow->src_str, CIL_SYM_ROLES, extra_args, &src_datum); 1059 roleallow->src = (struct cil_role*)src_datum; 1061 rc = cil_resolve_name(current, roleallow->tgt_str, CIL_SYM_ROLES, extra_args, &tgt_datum); 1065 roleallow->tgt = (struct cil_role*)tgt_datum; [all...] |