Searched refs:pirqcon (Results 1 - 11 of 11) sorted by relevance

/external/selinux/libsepol/cil/src/
H A Dcil_reset_ast.c323 static void cil_reset_pirqcon(struct cil_pirqcon *pirqcon) argument
325 if (pirqcon->context_str == NULL) {
326 cil_reset_context(pirqcon->context);
H A Dcil.c193 CIL_KEY_PIRQCON = cil_strpool_add("pirqcon");
256 cil_sort_init(&(*db)->pirqcon);
305 cil_sort_destroy(&(*db)->pirqcon);
2247 void cil_pirqcon_init(struct cil_pirqcon **pirqcon) argument
2249 *pirqcon = cil_malloc(sizeof(**pirqcon));
2251 (*pirqcon)->pirq = 0;
2252 (*pirqcon)->context_str = NULL;
2253 (*pirqcon)->context = NULL;
H A Dcil_internal.h283 struct cil_sort *pirqcon; member in struct:cil_db
986 void cil_pirqcon_init(struct cil_pirqcon **pirqcon);
H A Dcil_tree.c1397 struct cil_pirqcon *pirqcon = node->data; local
1399 cil_log(CIL_INFO, "PIRQCON %d", pirqcon->pirq);
1400 if (pirqcon->context != NULL) {
1401 cil_tree_print_context(pirqcon->context);
1403 cil_log(CIL_INFO, " %s", pirqcon->context_str);
H A Dcil_post.c405 db->pirqcon->count++;
547 struct cil_sort *sort = db->pirqcon;
1616 struct cil_pirqcon *pirqcon = node->data; local
1617 rc = __evaluate_levelrange_expression(pirqcon->context->range, db);
1942 qsort(db->pirqcon->array, db->pirqcon->count, sizeof(db->pirqcon->array), cil_post_pirqcon_compare);
H A Dcil_policy.c226 struct cil_pirqcon *pirqcon = (struct cil_pirqcon*)sort->array[i]; local
227 fprintf(file_arr[NETIFCONS], "pirqcon %d ", pirqcon->pirq);
228 cil_context_to_policy(file_arr, NETIFCONS, pirqcon->context);
1349 rc = cil_pirqcon_to_policy(file_arr, db->pirqcon);
H A Dcil_build_ast.c4574 struct cil_pirqcon *pirqcon = NULL; local
4585 cil_pirqcon_init(&pirqcon);
4587 rc = cil_fill_integer(parse_current->next, &pirqcon->pirq);
4593 pirqcon->context_str = parse_current->next->next->data;
4595 cil_context_init(&pirqcon->context);
4597 rc = cil_fill_context(parse_current->next->next->cl_head, pirqcon->context);
4603 ast_node->data = pirqcon;
4609 cil_log(CIL_ERR, "Bad pirqcon declaration at line %d of %s\n",
4611 cil_destroy_pirqcon(pirqcon);
4615 void cil_destroy_pirqcon(struct cil_pirqcon *pirqcon) argument
[all...]
H A Dcil_build_ast.h185 void cil_destroy_pirqcon(struct cil_pirqcon *pirqcon);
H A Dcil_resolve_ast.c2010 struct cil_pirqcon *pirqcon = current->data; local
2014 if (pirqcon->context_str != NULL) {
2015 rc = cil_resolve_name(current, pirqcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum);
2019 pirqcon->context = (struct cil_context*)context_datum;
2021 rc = cil_resolve_context(current, pirqcon->context, extra_args);
H A Dcil_binary.c3649 rc = cil_pirqcon_to_policydb(pdb, db->pirqcon);
/external/selinux/checkpolicy/
H A Dpolicy_scan.l190 pirqcon |

Completed in 275 milliseconds