Home
last modified time | relevance | path

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

/third_party/selinux/secilc/docs/
Dcil_xen_statements.md138 pirqcon section in Xen Statements
146 (pirqcon irq_level context_id)
158 <td align="left"><p><code>pirqcon</code></p></td>
159 <td align="left"><p>The <code>pirqcon</code> keyword.</p></td>
177 (pirqcon 33 (unconfined.user object_r unconfined.object low_low))
DREADME.md156 * [pirqcon](cil_xen_statements.md#pirqcon)
/third_party/selinux/libsepol/cil/src/
Dcil_reset_ast.c391 static void cil_reset_pirqcon(struct cil_pirqcon *pirqcon) in cil_reset_pirqcon() argument
393 if (pirqcon->context_str == NULL) { in cil_reset_pirqcon()
394 cil_reset_context(pirqcon->context); in cil_reset_pirqcon()
396 pirqcon->context = NULL; in cil_reset_pirqcon()
Dcil.c420 cil_sort_init(&(*db)->pirqcon); in cil_db_init()
475 cil_sort_destroy(&(*db)->pirqcon); in cil_db_destroy()
2591 void cil_pirqcon_init(struct cil_pirqcon **pirqcon) in cil_pirqcon_init() argument
2593 *pirqcon = cil_malloc(sizeof(**pirqcon)); in cil_pirqcon_init()
2595 (*pirqcon)->pirq = 0; in cil_pirqcon_init()
2596 (*pirqcon)->context_str = NULL; in cil_pirqcon_init()
2597 (*pirqcon)->context = NULL; in cil_pirqcon_init()
Dcil_write_ast.c1391 struct cil_pirqcon *pirqcon = node->data; in cil_write_ast_node() local
1392 fprintf(out, "(pirqcon %d ", pirqcon->pirq); in cil_write_ast_node()
1393 if (pirqcon->context) in cil_write_ast_node()
1394 write_context(out, pirqcon->context, CIL_TRUE); in cil_write_ast_node()
1396 fprintf(out, "%s", pirqcon->context_str); in cil_write_ast_node()
Dcil_internal.h303 struct cil_sort *pirqcon; member
1051 void cil_pirqcon_init(struct cil_pirqcon **pirqcon);
Dcil_policy.c1848 struct cil_pirqcon *pirqcon; in cil_pirqcons_to_policy() local
1851 pirqcon = pirqcons->array[i]; in cil_pirqcons_to_policy()
1852 fprintf(out, "pirqcon %d ", pirqcon->pirq); in cil_pirqcons_to_policy()
1853 cil_context_to_policy(out, pirqcon->context, mls); in cil_pirqcons_to_policy()
1979 cil_pirqcons_to_policy(out, db->pirqcon, db->mls); in cil_gen_policy()
Dcil_build_ast.c4813 struct cil_pirqcon *pirqcon = NULL; in cil_gen_pirqcon() local
4824 cil_pirqcon_init(&pirqcon); in cil_gen_pirqcon()
4826 rc = cil_fill_integer(parse_current->next, &pirqcon->pirq, 10); in cil_gen_pirqcon()
4832 pirqcon->context_str = parse_current->next->next->data; in cil_gen_pirqcon()
4834 cil_context_init(&pirqcon->context); in cil_gen_pirqcon()
4836 rc = cil_fill_context(parse_current->next->next->cl_head, pirqcon->context); in cil_gen_pirqcon()
4842 ast_node->data = pirqcon; in cil_gen_pirqcon()
4849 cil_destroy_pirqcon(pirqcon); in cil_gen_pirqcon()
4853 void cil_destroy_pirqcon(struct cil_pirqcon *pirqcon) in cil_destroy_pirqcon() argument
4855 if (pirqcon == NULL) { in cil_destroy_pirqcon()
[all …]
Dcil_post.c649 db->pirqcon->count++; in __cil_post_db_count_helper()
813 struct cil_sort *sort = db->pirqcon; in __cil_post_db_array_helper()
1970 struct cil_pirqcon *pirqcon = node->data; in __cil_post_db_cat_helper() local
1971 rc = __evaluate_levelrange_expression(pirqcon->context->range, db); in __cil_post_db_cat_helper()
2425 …rc = __cil_post_process_context_rules(db->pirqcon, cil_post_pirqcon_compare, cil_post_pirqcon_cont… in cil_post_db()
Dcil_build_ast.h193 void cil_destroy_pirqcon(struct cil_pirqcon *pirqcon);
Dcil_resolve_ast.c2138 struct cil_pirqcon *pirqcon = current->data; in cil_resolve_pirqcon() local
2142 if (pirqcon->context_str != NULL) { in cil_resolve_pirqcon()
2143 …rc = cil_resolve_name(current, pirqcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum); in cil_resolve_pirqcon()
2147 pirqcon->context = (struct cil_context*)context_datum; in cil_resolve_pirqcon()
2149 rc = cil_resolve_context(current, pirqcon->context, extra_args); in cil_resolve_pirqcon()
Dcil_binary.c4071 rc = cil_pirqcon_to_policydb(pdb, db->pirqcon); in __cil_contexts_to_policydb()
/third_party/selinux/checkpolicy/
Dpolicy_scan.l211 pirqcon |
/third_party/selinux/secilc/test/
Dintegration.cil180 (pirqcon 256 system_u_bin_t_l2h)