Home
last modified time | relevance | path

Searched refs:pirqcon (Results 1 – 15 of 15) sorted by relevance

/external/selinux/secilc/docs/
Dcil_xen_statements.md126 pirqcon section in Xen Statements
133 (pirqcon irq_level context_id)
144 <td align="left"><p><code>pirqcon</code></p></td>
145 <td align="left"><p>The <code>pirqcon</code> keyword.</p></td>
162 (pirqcon 33 (unconfined.user object_r unconfined.object low_low))
DREADME.md151 * [pirqcon](cil_xen_statements.md#pirqcon)
/external/selinux/libsepol/cil/src/
Dcil_reset_ast.c323 static void cil_reset_pirqcon(struct cil_pirqcon *pirqcon) in cil_reset_pirqcon() argument
325 if (pirqcon->context_str == NULL) { in cil_reset_pirqcon()
326 cil_reset_context(pirqcon->context); in cil_reset_pirqcon()
Dcil.c260 cil_sort_init(&(*db)->pirqcon); in cil_db_init()
311 cil_sort_destroy(&(*db)->pirqcon); in cil_db_destroy()
2273 void cil_pirqcon_init(struct cil_pirqcon **pirqcon) in cil_pirqcon_init() argument
2275 *pirqcon = cil_malloc(sizeof(**pirqcon)); in cil_pirqcon_init()
2277 (*pirqcon)->pirq = 0; in cil_pirqcon_init()
2278 (*pirqcon)->context_str = NULL; in cil_pirqcon_init()
2279 (*pirqcon)->context = NULL; in cil_pirqcon_init()
Dcil_post.c408 db->pirqcon->count++; in __cil_post_db_count_helper()
550 struct cil_sort *sort = db->pirqcon; in __cil_post_db_array_helper()
1650 struct cil_pirqcon *pirqcon = node->data; in __cil_post_db_cat_helper() local
1651 rc = __evaluate_levelrange_expression(pirqcon->context->range, db); in __cil_post_db_cat_helper()
1976 …qsort(db->pirqcon->array, db->pirqcon->count, sizeof(db->pirqcon->array), cil_post_pirqcon_compare… in cil_post_db()
Dcil_tree.c1485 struct cil_pirqcon *pirqcon = node->data; in cil_tree_print_node() local
1487 cil_log(CIL_INFO, "PIRQCON %d", pirqcon->pirq); in cil_tree_print_node()
1488 if (pirqcon->context != NULL) { in cil_tree_print_node()
1489 cil_tree_print_context(pirqcon->context); in cil_tree_print_node()
1491 cil_log(CIL_INFO, " %s", pirqcon->context_str); in cil_tree_print_node()
Dcil_internal.h289 struct cil_sort *pirqcon; member
1003 void cil_pirqcon_init(struct cil_pirqcon **pirqcon);
Dcil_build_ast.c4527 struct cil_pirqcon *pirqcon = NULL; in cil_gen_pirqcon() local
4538 cil_pirqcon_init(&pirqcon); in cil_gen_pirqcon()
4540 rc = cil_fill_integer(parse_current->next, &pirqcon->pirq); in cil_gen_pirqcon()
4546 pirqcon->context_str = parse_current->next->next->data; in cil_gen_pirqcon()
4548 cil_context_init(&pirqcon->context); in cil_gen_pirqcon()
4550 rc = cil_fill_context(parse_current->next->next->cl_head, pirqcon->context); in cil_gen_pirqcon()
4556 ast_node->data = pirqcon; in cil_gen_pirqcon()
4563 cil_destroy_pirqcon(pirqcon); in cil_gen_pirqcon()
4567 void cil_destroy_pirqcon(struct cil_pirqcon *pirqcon) in cil_destroy_pirqcon() argument
4569 if (pirqcon == NULL) { in cil_destroy_pirqcon()
[all …]
Dcil_policy.c1817 struct cil_pirqcon *pirqcon; in cil_pirqcons_to_policy() local
1820 pirqcon = pirqcons->array[i]; in cil_pirqcons_to_policy()
1821 fprintf(out, "pirqcon %d ", pirqcon->pirq); in cil_pirqcons_to_policy()
1822 cil_context_to_policy(out, pirqcon->context, mls); in cil_pirqcons_to_policy()
1942 cil_pirqcons_to_policy(out, db->pirqcon, db->mls); in cil_gen_policy()
Dcil_build_ast.h185 void cil_destroy_pirqcon(struct cil_pirqcon *pirqcon);
Dcil_resolve_ast.c2019 struct cil_pirqcon *pirqcon = current->data; in cil_resolve_pirqcon() local
2023 if (pirqcon->context_str != NULL) { in cil_resolve_pirqcon()
2024 …rc = cil_resolve_name(current, pirqcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_pirqcon()
2028 pirqcon->context = (struct cil_context*)context_datum; in cil_resolve_pirqcon()
2030 rc = cil_resolve_context(current, pirqcon->context, extra_args); in cil_resolve_pirqcon()
Dcil_binary.c3834 rc = cil_pirqcon_to_policydb(pdb, db->pirqcon); in __cil_contexts_to_policydb()
/external/selinux/checkpolicy/
Dpolicy_scan.l190 pirqcon |
/external/selinux/secilc/test/
Dintegration.cil180 (pirqcon 256 system_u_bin_t_l2h)
Dpolicy.cil279 (pirqcon 256 system_u_bin_t_l2h)