Home
last modified time | relevance | path

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

/external/selinux/secilc/docs/
Dcil_xen_statements.md48 ioportcon section in Xen Statements
55 (ioportcon port|(port_low port_high) context_id)
66 <td align="left"><p><code>ioportcon</code></p></td>
67 <td align="left"><p>The <code>ioportcon</code> keyword.</p></td>
86 (ioportcon 60608 (unconfined.user object_r unconfined.object low_low))
DREADME.md153 * [ioportcon](cil_xen_statements.md#ioportcon)
/external/selinux/libsepol/cil/src/
Dcil_reset_ast.c351 static void cil_reset_ioportcon(struct cil_ioportcon *ioportcon) in cil_reset_ioportcon() argument
353 if (ioportcon->context_str == NULL) { in cil_reset_ioportcon()
354 cil_reset_context(ioportcon->context); in cil_reset_ioportcon()
Dcil_tree.c1549 struct cil_ioportcon *ioportcon = node->data; in cil_tree_print_node() local
1551 cil_log(CIL_INFO, "IOPORTCON ( %d %d )", ioportcon->ioport_low, ioportcon->ioport_high); in cil_tree_print_node()
1552 if (ioportcon->context != NULL) { in cil_tree_print_node()
1553 cil_tree_print_context(ioportcon->context); in cil_tree_print_node()
1555 cil_log(CIL_INFO, " %s", ioportcon->context_str); in cil_tree_print_node()
Dcil.c267 cil_sort_init(&(*db)->ioportcon); in cil_db_init()
320 cil_sort_destroy(&(*db)->ioportcon); in cil_db_destroy()
2352 void cil_ioportcon_init(struct cil_ioportcon **ioportcon) in cil_ioportcon_init() argument
2354 *ioportcon = cil_malloc(sizeof(**ioportcon)); in cil_ioportcon_init()
2356 (*ioportcon)->context_str = NULL; in cil_ioportcon_init()
2357 (*ioportcon)->context = NULL; in cil_ioportcon_init()
Dcil_build_ast.c4924 struct cil_ioportcon *ioportcon = NULL; in cil_gen_ioportcon() local
4935 cil_ioportcon_init(&ioportcon); in cil_gen_ioportcon()
4940 rc = cil_fill_integer(parse_current->next->cl_head, &ioportcon->ioport_low, 0); in cil_gen_ioportcon()
4945 rc = cil_fill_integer(parse_current->next->cl_head->next, &ioportcon->ioport_high, 0); in cil_gen_ioportcon()
4956 rc = cil_fill_integer(parse_current->next, &ioportcon->ioport_low, 0); in cil_gen_ioportcon()
4961 ioportcon->ioport_high = ioportcon->ioport_low; in cil_gen_ioportcon()
4965 ioportcon->context_str = parse_current->next->next->data; in cil_gen_ioportcon()
4967 cil_context_init(&ioportcon->context); in cil_gen_ioportcon()
4969 rc = cil_fill_context(parse_current->next->next->cl_head, ioportcon->context); in cil_gen_ioportcon()
4975 ast_node->data = ioportcon; in cil_gen_ioportcon()
[all …]
Dcil_policy.c1876 struct cil_ioportcon *ioportcon; in cil_ioportcons_to_policy() local
1879 ioportcon = ioportcons->array[i]; in cil_ioportcons_to_policy()
1880 fprintf(out, "ioportcon 0x%x-0x%x ", ioportcon->ioport_low, ioportcon->ioport_high); in cil_ioportcons_to_policy()
1881 cil_context_to_policy(out, ioportcon->context, mls); in cil_ioportcons_to_policy()
1979 cil_ioportcons_to_policy(out, db->ioportcon, db->mls); in cil_gen_policy()
Dcil_internal.h296 struct cil_sort *ioportcon; member
1037 void cil_ioportcon_init(struct cil_ioportcon **ioportcon);
Dcil_post.c641 db->ioportcon->count++; in __cil_post_db_count_helper()
821 struct cil_sort *sort = db->ioportcon; in __cil_post_db_array_helper()
1988 struct cil_ioportcon *ioportcon = node->data; in __cil_post_db_cat_helper() local
1989 rc = __evaluate_levelrange_expression(ioportcon->context->range, db); in __cil_post_db_cat_helper()
2420 …rc = __cil_post_process_context_rules(db->ioportcon, cil_post_ioportcon_compare, cil_post_ioportco… in cil_post_db()
Dcil_build_ast.h195 void cil_destroy_ioportcon(struct cil_ioportcon *ioportcon);
Dcil_resolve_ast.c2164 struct cil_ioportcon *ioportcon = current->data; in cil_resolve_ioportcon() local
2168 if (ioportcon->context_str != NULL) { in cil_resolve_ioportcon()
2169 …rc = cil_resolve_name(current, ioportcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datu… in cil_resolve_ioportcon()
2173 ioportcon->context = (struct cil_context*)context_datum; in cil_resolve_ioportcon()
2175 rc = cil_resolve_context(current, ioportcon->context, extra_args); in cil_resolve_ioportcon()
Dcil_binary.c3930 rc = cil_ioportcon_to_policydb(pdb, db->ioportcon); in __cil_contexts_to_policydb()
/external/selinux/checkpolicy/
Dpolicy_scan.l201 ioportcon |
/external/selinux/secilc/test/
Dintegration.cil182 (ioportcon (22 22) system_u_bin_t_l2h)
Dpolicy.cil281 (ioportcon (22 22) system_u_bin_t_l2h)