Searched defs:pirqcon (Results 1 - 8 of 8) sorted by relevance
/external/selinux/libsepol/cil/src/ |
H A D | cil_reset_ast.c | 323 static void cil_reset_pirqcon(struct cil_pirqcon *pirqcon) argument 325 if (pirqcon->context_str == NULL) { 326 cil_reset_context(pirqcon->context);
|
H A D | cil_tree.c | 1485 struct cil_pirqcon *pirqcon = node->data; local 1487 cil_log(CIL_INFO, "PIRQCON %d", pirqcon->pirq); 1488 if (pirqcon->context != NULL) { 1489 cil_tree_print_context(pirqcon->context); 1491 cil_log(CIL_INFO, " %s", pirqcon->context_str);
|
H A D | cil.c | 194 CIL_KEY_PIRQCON = cil_strpool_add("pirqcon"); 260 cil_sort_init(&(*db)->pirqcon); 311 cil_sort_destroy(&(*db)->pirqcon); 2273 void cil_pirqcon_init(struct cil_pirqcon **pirqcon) argument 2275 *pirqcon = cil_malloc(sizeof(**pirqcon)); 2277 (*pirqcon)->pirq = 0; 2278 (*pirqcon)->context_str = NULL; 2279 (*pirqcon)->context = NULL;
|
H A D | cil_policy.c | 1817 struct cil_pirqcon *pirqcon; local 1820 pirqcon = pirqcons->array[i]; 1821 fprintf(out, "pirqcon %d ", pirqcon->pirq); 1822 cil_context_to_policy(out, pirqcon->context, mls); 1942 cil_pirqcons_to_policy(out, db->pirqcon, db->mls);
|
H A D | cil_post.c | 408 db->pirqcon->count++; 550 struct cil_sort *sort = db->pirqcon; 1650 struct cil_pirqcon *pirqcon = node->data; local 1651 rc = __evaluate_levelrange_expression(pirqcon->context->range, db); 1976 qsort(db->pirqcon->array, db->pirqcon->count, sizeof(db->pirqcon->array), cil_post_pirqcon_compare);
|
H A D | cil_resolve_ast.c | 2019 struct cil_pirqcon *pirqcon = current->data; local 2023 if (pirqcon->context_str != NULL) { 2024 rc = cil_resolve_name(current, pirqcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); 2028 pirqcon->context = (struct cil_context*)context_datum; 2030 rc = cil_resolve_context(current, pirqcon->context, extra_args);
|
H A D | cil_build_ast.c | 4527 struct cil_pirqcon *pirqcon = NULL; local 4538 cil_pirqcon_init(&pirqcon); 4540 rc = cil_fill_integer(parse_current->next, &pirqcon->pirq); 4546 pirqcon->context_str = parse_current->next->next->data; 4548 cil_context_init(&pirqcon->context); 4550 rc = cil_fill_context(parse_current->next->next->cl_head, pirqcon->context); 4556 ast_node->data = pirqcon; 4562 cil_tree_log(parse_current, CIL_ERR, "Bad pirqcon declaration"); 4563 cil_destroy_pirqcon(pirqcon); 4567 void cil_destroy_pirqcon(struct cil_pirqcon *pirqcon) argument [all...] |
H A D | cil_internal.h | 289 struct cil_sort *pirqcon; member in struct:cil_db 1003 void cil_pirqcon_init(struct cil_pirqcon **pirqcon);
|
Completed in 119 milliseconds