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.md149 * [ioportcon](cil_xen_statements.md#ioportcon)
/external/selinux/libsepol/cil/src/
Dcil_reset_ast.c337 static void cil_reset_ioportcon(struct cil_ioportcon *ioportcon) in cil_reset_ioportcon() argument
339 if (ioportcon->context_str == NULL) { in cil_reset_ioportcon()
340 cil_reset_context(ioportcon->context); in cil_reset_ioportcon()
Dcil_tree.c1423 struct cil_ioportcon *ioportcon = node->data; in cil_tree_print_node() local
1425 cil_log(CIL_INFO, "IOPORTCON ( %d %d )", ioportcon->ioport_low, ioportcon->ioport_high); in cil_tree_print_node()
1426 if (ioportcon->context != NULL) { in cil_tree_print_node()
1427 cil_tree_print_context(ioportcon->context); in cil_tree_print_node()
1429 cil_log(CIL_INFO, " %s", ioportcon->context_str); in cil_tree_print_node()
Dcil.c258 cil_sort_init(&(*db)->ioportcon); in cil_db_init()
307 cil_sort_destroy(&(*db)->ioportcon); in cil_db_destroy()
2266 void cil_ioportcon_init(struct cil_ioportcon **ioportcon) in cil_ioportcon_init() argument
2268 *ioportcon = cil_malloc(sizeof(**ioportcon)); in cil_ioportcon_init()
2270 (*ioportcon)->context_str = NULL; in cil_ioportcon_init()
2271 (*ioportcon)->context = NULL; in cil_ioportcon_init()
Dcil_post.c411 db->ioportcon->count++; in __cil_post_db_count_helper()
569 struct cil_sort *sort = db->ioportcon; in __cil_post_db_array_helper()
1632 struct cil_ioportcon *ioportcon = node->data; in __cil_post_db_cat_helper() local
1633 rc = __evaluate_levelrange_expression(ioportcon->context->range, db); in __cil_post_db_cat_helper()
1944 …qsort(db->ioportcon->array, db->ioportcon->count, sizeof(db->ioportcon->array), cil_post_ioportcon… in cil_post_db()
Dcil_policy.c253 struct cil_ioportcon *ioportcon = (struct cil_ioportcon*)sort->array[i]; in cil_ioportcon_to_policy() local
254 fprintf(file_arr[NETIFCONS], "ioportcon %d-%d ", ioportcon->ioport_low, ioportcon->ioport_high); in cil_ioportcon_to_policy()
255 cil_context_to_policy(file_arr, NETIFCONS, ioportcon->context); in cil_ioportcon_to_policy()
1361 rc = cil_ioportcon_to_policy(file_arr, db->ioportcon); in cil_gen_policy()
Dcil_build_ast.c4724 struct cil_ioportcon *ioportcon = NULL; in cil_gen_ioportcon() local
4735 cil_ioportcon_init(&ioportcon); in cil_gen_ioportcon()
4740 rc = cil_fill_integer(parse_current->next->cl_head, &ioportcon->ioport_low); in cil_gen_ioportcon()
4745 rc = cil_fill_integer(parse_current->next->cl_head->next, &ioportcon->ioport_high); in cil_gen_ioportcon()
4756 rc = cil_fill_integer(parse_current->next, &ioportcon->ioport_low); in cil_gen_ioportcon()
4761 ioportcon->ioport_high = ioportcon->ioport_low; in cil_gen_ioportcon()
4765 ioportcon->context_str = parse_current->next->next->data; in cil_gen_ioportcon()
4767 cil_context_init(&ioportcon->context); in cil_gen_ioportcon()
4769 rc = cil_fill_context(parse_current->next->next->cl_head, ioportcon->context); in cil_gen_ioportcon()
4775 ast_node->data = ioportcon; in cil_gen_ioportcon()
[all …]
Dcil_internal.h285 struct cil_sort *ioportcon; member
988 void cil_ioportcon_init(struct cil_ioportcon **ioportcon);
Dcil_build_ast.h189 void cil_destroy_ioportcon(struct cil_ioportcon *ioportcon);
Dcil_resolve_ast.c2060 struct cil_ioportcon *ioportcon = current->data; in cil_resolve_ioportcon() local
2064 if (ioportcon->context_str != NULL) { in cil_resolve_ioportcon()
2065 …rc = cil_resolve_name(current, ioportcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datu… in cil_resolve_ioportcon()
2069 ioportcon->context = (struct cil_context*)context_datum; in cil_resolve_ioportcon()
2071 rc = cil_resolve_context(current, ioportcon->context, extra_args); in cil_resolve_ioportcon()
Dcil_binary.c3659 rc = cil_ioportcon_to_policydb(pdb, db->ioportcon); in __cil_contexts_to_policydb()
/external/selinux/checkpolicy/
Dpolicy_scan.l194 ioportcon |
/external/selinux/secilc/test/
Dintegration.cil182 (ioportcon (22 22) system_u_bin_t_l2h)
Dpolicy.cil280 (ioportcon (22 22) system_u_bin_t_l2h)