/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 | 153 * [ioportcon](cil_xen_statements.md#ioportcon)
|
/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 351 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()
|
D | cil_tree.c | 1549 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()
|
D | cil.c | 267 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()
|
D | cil_build_ast.c | 4924 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 …]
|
D | cil_policy.c | 1876 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()
|
D | cil_internal.h | 296 struct cil_sort *ioportcon; member 1037 void cil_ioportcon_init(struct cil_ioportcon **ioportcon);
|
D | cil_post.c | 641 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()
|
D | cil_build_ast.h | 195 void cil_destroy_ioportcon(struct cil_ioportcon *ioportcon);
|
D | cil_resolve_ast.c | 2164 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()
|
D | cil_binary.c | 3930 rc = cil_ioportcon_to_policydb(pdb, db->ioportcon); in __cil_contexts_to_policydb()
|
/external/selinux/checkpolicy/ |
D | policy_scan.l | 201 ioportcon |
|
/external/selinux/secilc/test/ |
D | integration.cil | 182 (ioportcon (22 22) system_u_bin_t_l2h)
|
D | policy.cil | 281 (ioportcon (22 22) system_u_bin_t_l2h)
|