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.c256 cil_sort_init(&(*db)->pirqcon); in cil_db_init()
305 cil_sort_destroy(&(*db)->pirqcon); in cil_db_destroy()
2247 void cil_pirqcon_init(struct cil_pirqcon **pirqcon) in cil_pirqcon_init() argument
2249 *pirqcon = cil_malloc(sizeof(**pirqcon)); in cil_pirqcon_init()
2251 (*pirqcon)->pirq = 0; in cil_pirqcon_init()
2252 (*pirqcon)->context_str = NULL; in cil_pirqcon_init()
2253 (*pirqcon)->context = NULL; in cil_pirqcon_init()
Dcil_post.c405 db->pirqcon->count++; in __cil_post_db_count_helper()
547 struct cil_sort *sort = db->pirqcon; in __cil_post_db_array_helper()
1616 struct cil_pirqcon *pirqcon = node->data; in __cil_post_db_cat_helper() local
1617 rc = __evaluate_levelrange_expression(pirqcon->context->range, db); in __cil_post_db_cat_helper()
1942 …qsort(db->pirqcon->array, db->pirqcon->count, sizeof(db->pirqcon->array), cil_post_pirqcon_compare… in cil_post_db()
Dcil_tree.c1397 struct cil_pirqcon *pirqcon = node->data; in cil_tree_print_node() local
1399 cil_log(CIL_INFO, "PIRQCON %d", pirqcon->pirq); in cil_tree_print_node()
1400 if (pirqcon->context != NULL) { in cil_tree_print_node()
1401 cil_tree_print_context(pirqcon->context); in cil_tree_print_node()
1403 cil_log(CIL_INFO, " %s", pirqcon->context_str); in cil_tree_print_node()
Dcil_policy.c226 struct cil_pirqcon *pirqcon = (struct cil_pirqcon*)sort->array[i]; in cil_pirqcon_to_policy() local
227 fprintf(file_arr[NETIFCONS], "pirqcon %d ", pirqcon->pirq); in cil_pirqcon_to_policy()
228 cil_context_to_policy(file_arr, NETIFCONS, pirqcon->context); in cil_pirqcon_to_policy()
1349 rc = cil_pirqcon_to_policy(file_arr, db->pirqcon); in cil_gen_policy()
Dcil_internal.h283 struct cil_sort *pirqcon; member
986 void cil_pirqcon_init(struct cil_pirqcon **pirqcon);
Dcil_build_ast.c4574 struct cil_pirqcon *pirqcon = NULL; in cil_gen_pirqcon() local
4585 cil_pirqcon_init(&pirqcon); in cil_gen_pirqcon()
4587 rc = cil_fill_integer(parse_current->next, &pirqcon->pirq); in cil_gen_pirqcon()
4593 pirqcon->context_str = parse_current->next->next->data; in cil_gen_pirqcon()
4595 cil_context_init(&pirqcon->context); in cil_gen_pirqcon()
4597 rc = cil_fill_context(parse_current->next->next->cl_head, pirqcon->context); in cil_gen_pirqcon()
4603 ast_node->data = pirqcon; in cil_gen_pirqcon()
4611 cil_destroy_pirqcon(pirqcon); in cil_gen_pirqcon()
4615 void cil_destroy_pirqcon(struct cil_pirqcon *pirqcon) in cil_destroy_pirqcon() argument
4617 if (pirqcon == NULL) { in cil_destroy_pirqcon()
[all …]
Dcil_build_ast.h185 void cil_destroy_pirqcon(struct cil_pirqcon *pirqcon);
Dcil_resolve_ast.c2010 struct cil_pirqcon *pirqcon = current->data; in cil_resolve_pirqcon() local
2014 if (pirqcon->context_str != NULL) { in cil_resolve_pirqcon()
2015 …rc = cil_resolve_name(current, pirqcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_pirqcon()
2019 pirqcon->context = (struct cil_context*)context_datum; in cil_resolve_pirqcon()
2021 rc = cil_resolve_context(current, pirqcon->context, extra_args); in cil_resolve_pirqcon()
Dcil_binary.c3649 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.cil278 (pirqcon 256 system_u_bin_t_l2h)