Searched refs:sidcon (Results 1 – 6 of 6) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | android.c | 331 struct cil_sidcontext *sidcon = (struct cil_sidcontext *)node->data; in cil_attrib_sidcontext() local 333 if (sidcon->context_str == NULL) { in cil_attrib_sidcontext() 335 rc = cil_attrib_check_context(sidcon->context, args); in cil_attrib_sidcontext()
|
D | cil_write_ast.c | 498 struct cil_sidcontext *sidcon = (struct cil_sidcontext *)node->data; in cil_write_sidcontext() local 500 sid = sidcon->sid_str; in cil_write_sidcontext() 501 if (sidcon->context_str != NULL) { in cil_write_sidcontext() 502 ctx_str = strdup(sidcon->context_str); in cil_write_sidcontext() 509 rc = cil_unfill_context(sidcon->context, &ctx_str); in cil_write_sidcontext()
|
D | cil_tree.c | 1591 struct cil_sidcontext *sidcon = node->data; in cil_tree_print_node() local 1592 cil_log(CIL_INFO, "SIDCONTEXT: %s", sidcon->sid_str); in cil_tree_print_node() 1594 if (sidcon->context != NULL) { in cil_tree_print_node() 1595 cil_tree_print_context(sidcon->context); in cil_tree_print_node() 1597 cil_log(CIL_INFO, " %s", sidcon->context_str); in cil_tree_print_node()
|
D | cil_build_ast.c | 1074 struct cil_sidcontext *sidcon = NULL; in cil_gen_sidcontext() local 1086 cil_sidcontext_init(&sidcon); in cil_gen_sidcontext() 1088 sidcon->sid_str = parse_current->next->data; in cil_gen_sidcontext() 1091 sidcon->context_str = parse_current->next->next->data; in cil_gen_sidcontext() 1093 cil_context_init(&sidcon->context); in cil_gen_sidcontext() 1095 rc = cil_fill_context(parse_current->next->next->cl_head, sidcon->context); in cil_gen_sidcontext() 1101 ast_node->data = sidcon; in cil_gen_sidcontext() 1108 cil_destroy_sidcontext(sidcon); in cil_gen_sidcontext() 1112 void cil_destroy_sidcontext(struct cil_sidcontext *sidcon) in cil_destroy_sidcontext() argument 1114 if (sidcon == NULL) { in cil_destroy_sidcontext() [all …]
|
D | cil_resolve_ast.c | 2217 struct cil_sidcontext *sidcon = current->data; in cil_resolve_sidcontext() local 2224 rc = cil_resolve_name(current, sidcon->sid_str, CIL_SYM_SIDS, extra_args, &sid_datum); in cil_resolve_sidcontext() 2230 if (sidcon->context_str != NULL) { in cil_resolve_sidcontext() 2231 rc = cil_resolve_name(current, sidcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_sidcontext() 2235 sidcon->context = (struct cil_context*)context_datum; in cil_resolve_sidcontext() 2236 } else if (sidcon->context != NULL) { in cil_resolve_sidcontext() 2237 rc = cil_resolve_context(current, sidcon->context, extra_args); in cil_resolve_sidcontext() 2249 sid->context = sidcon->context; in cil_resolve_sidcontext()
|
D | cil_build_ast.h | 78 void cil_destroy_sidcontext(struct cil_sidcontext *sidcon);
|