Searched refs:sidcon (Results 1 - 5 of 5) sorted by relevance

/external/selinux/libsepol/cil/src/
H A Dcil_tree.c1492 struct cil_sidcontext *sidcon = node->data; local
1493 cil_log(CIL_INFO, "SIDCONTEXT: %s", sidcon->sid_str);
1495 if (sidcon->context != NULL) {
1496 cil_tree_print_context(sidcon->context);
1498 cil_log(CIL_INFO, " %s", sidcon->context_str);
H A Dcil_resolve_ast.c2160 struct cil_sidcontext *sidcon = current->data; local
2167 rc = cil_resolve_name(current, sidcon->sid_str, CIL_SYM_SIDS, extra_args, &sid_datum);
2173 if (sidcon->context_str != NULL) {
2174 rc = cil_resolve_name(current, sidcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum);
2178 sidcon->context = (struct cil_context*)context_datum;
2179 } else if (sidcon->context != NULL) {
2180 rc = cil_resolve_context(current, sidcon->context, extra_args);
2192 sid->context = sidcon->context;
H A Dcil_build_ast.c1072 struct cil_sidcontext *sidcon = NULL; local
1084 cil_sidcontext_init(&sidcon);
1086 sidcon->sid_str = parse_current->next->data;
1089 sidcon->context_str = parse_current->next->next->data;
1091 cil_context_init(&sidcon->context);
1093 rc = cil_fill_context(parse_current->next->next->cl_head, sidcon->context);
1099 ast_node->data = sidcon;
1107 cil_destroy_sidcontext(sidcon);
1111 void cil_destroy_sidcontext(struct cil_sidcontext *sidcon) argument
1113 if (sidcon
[all...]
H A Dcil_policy.c1088 struct cil_sidcontext *sidcon = (struct cil_sidcontext*)current->data; local
1089 fprintf(file_arr[SIDS], "sid %s ", sidcon->sid_str);
1090 cil_context_to_policy(file_arr, SIDS, sidcon->context);
H A Dcil_build_ast.h78 void cil_destroy_sidcontext(struct cil_sidcontext *sidcon);

Completed in 236 milliseconds