Searched refs:ioportcon (Results 1 – 15 of 15) sorted by relevance
/external/selinux/secilc/docs/ |
D | cil_xen_statements.md | 48 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))
|
D | README.md | 149 * [ioportcon](cil_xen_statements.md#ioportcon)
|
/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 337 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()
|
D | cil_tree.c | 1423 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()
|
D | cil.c | 258 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()
|
D | cil_post.c | 411 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()
|
D | cil_policy.c | 253 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()
|
D | cil_build_ast.c | 4724 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 …]
|
D | cil_internal.h | 285 struct cil_sort *ioportcon; member 988 void cil_ioportcon_init(struct cil_ioportcon **ioportcon);
|
D | cil_build_ast.h | 189 void cil_destroy_ioportcon(struct cil_ioportcon *ioportcon);
|
D | cil_resolve_ast.c | 2060 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()
|
D | cil_binary.c | 3659 rc = cil_ioportcon_to_policydb(pdb, db->ioportcon); in __cil_contexts_to_policydb()
|
/external/selinux/checkpolicy/ |
D | policy_scan.l | 194 ioportcon |
|
/external/selinux/secilc/test/ |
D | integration.cil | 182 (ioportcon (22 22) system_u_bin_t_l2h)
|
D | policy.cil | 280 (ioportcon (22 22) system_u_bin_t_l2h)
|