/third_party/selinux/secilc/docs/ |
D | cil_xen_statements.md | 52 ioportcon section in Xen Statements 60 (ioportcon port|(port_low port_high) context_id) 72 <td align="left"><p><code>ioportcon</code></p></td> 73 <td align="left"><p>The <code>ioportcon</code> keyword.</p></td> 93 (ioportcon 60608 (unconfined.user object_r unconfined.object low_low))
|
D | README.md | 154 * [ioportcon](cil_xen_statements.md#ioportcon)
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 409 static void cil_reset_ioportcon(struct cil_ioportcon *ioportcon) in cil_reset_ioportcon() argument 411 if (ioportcon->context_str == NULL) { in cil_reset_ioportcon() 412 cil_reset_context(ioportcon->context); in cil_reset_ioportcon() 414 ioportcon->context = NULL; in cil_reset_ioportcon()
|
D | cil_write_ast.c | 1411 struct cil_ioportcon *ioportcon = node->data; in cil_write_ast_node() local 1413 if (ioportcon->ioport_low == ioportcon->ioport_high) in cil_write_ast_node() 1414 fprintf(out, "%d ", ioportcon->ioport_low); in cil_write_ast_node() 1416 fprintf(out, "(%d %d) ", ioportcon->ioport_low, ioportcon->ioport_high); in cil_write_ast_node() 1418 if (ioportcon->context) in cil_write_ast_node() 1419 write_context(out, ioportcon->context, CIL_TRUE); in cil_write_ast_node() 1421 fprintf(out, "%s", ioportcon->context_str); in cil_write_ast_node()
|
D | cil.c | 422 cil_sort_init(&(*db)->ioportcon); in cil_db_init() 477 cil_sort_destroy(&(*db)->ioportcon); in cil_db_destroy() 2610 void cil_ioportcon_init(struct cil_ioportcon **ioportcon) in cil_ioportcon_init() argument 2612 *ioportcon = cil_malloc(sizeof(**ioportcon)); in cil_ioportcon_init() 2614 (*ioportcon)->context_str = NULL; in cil_ioportcon_init() 2615 (*ioportcon)->context = NULL; in cil_ioportcon_init()
|
D | cil_build_ast.c | 4962 struct cil_ioportcon *ioportcon = NULL; in cil_gen_ioportcon() local 4973 cil_ioportcon_init(&ioportcon); in cil_gen_ioportcon() 4978 rc = cil_fill_integer(parse_current->next->cl_head, &ioportcon->ioport_low, 0); in cil_gen_ioportcon() 4983 rc = cil_fill_integer(parse_current->next->cl_head->next, &ioportcon->ioport_high, 0); in cil_gen_ioportcon() 4994 rc = cil_fill_integer(parse_current->next, &ioportcon->ioport_low, 0); in cil_gen_ioportcon() 4999 ioportcon->ioport_high = ioportcon->ioport_low; in cil_gen_ioportcon() 5003 ioportcon->context_str = parse_current->next->next->data; in cil_gen_ioportcon() 5005 cil_context_init(&ioportcon->context); in cil_gen_ioportcon() 5007 rc = cil_fill_context(parse_current->next->next->cl_head, ioportcon->context); in cil_gen_ioportcon() 5013 ast_node->data = ioportcon; in cil_gen_ioportcon() [all …]
|
D | cil_policy.c | 1878 struct cil_ioportcon *ioportcon; in cil_ioportcons_to_policy() local 1881 ioportcon = ioportcons->array[i]; in cil_ioportcons_to_policy() 1882 fprintf(out, "ioportcon 0x%x-0x%x ", ioportcon->ioport_low, ioportcon->ioport_high); in cil_ioportcons_to_policy() 1883 cil_context_to_policy(out, ioportcon->context, mls); in cil_ioportcons_to_policy() 1981 cil_ioportcons_to_policy(out, db->ioportcon, db->mls); in cil_gen_policy()
|
D | cil_internal.h | 305 struct cil_sort *ioportcon; member 1053 void cil_ioportcon_init(struct cil_ioportcon **ioportcon);
|
D | cil_post.c | 655 db->ioportcon->count++; in __cil_post_db_count_helper() 835 struct cil_sort *sort = db->ioportcon; in __cil_post_db_array_helper() 1998 struct cil_ioportcon *ioportcon = node->data; in __cil_post_db_cat_helper() local 1999 rc = __evaluate_levelrange_expression(ioportcon->context->range, db); in __cil_post_db_cat_helper() 2449 …rc = __cil_post_process_context_rules(db->ioportcon, cil_post_ioportcon_compare, cil_post_ioportco… in cil_post_db()
|
D | cil_build_ast.h | 197 void cil_destroy_ioportcon(struct cil_ioportcon *ioportcon);
|
D | cil_resolve_ast.c | 2188 struct cil_ioportcon *ioportcon = current->data; in cil_resolve_ioportcon() local 2192 if (ioportcon->context_str != NULL) { in cil_resolve_ioportcon() 2193 …rc = cil_resolve_name(current, ioportcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datu… in cil_resolve_ioportcon() 2197 ioportcon->context = (struct cil_context*)context_datum; in cil_resolve_ioportcon() 2199 rc = cil_resolve_context(current, ioportcon->context, extra_args); in cil_resolve_ioportcon()
|
D | cil_binary.c | 4081 rc = cil_ioportcon_to_policydb(pdb, db->ioportcon); in __cil_contexts_to_policydb()
|
/third_party/selinux/checkpolicy/ |
D | policy_scan.l | 215 ioportcon |
|
/third_party/selinux/secilc/test/ |
D | integration.cil | 182 (ioportcon (22 22) system_u_bin_t_l2h)
|