/third_party/selinux/secilc/docs/ |
D | cil_xen_statements.md | 8 iomemcon section in Xen Statements 16 (iomemcon mem_addr|(mem_low mem_high) context_id) 28 <td align="left"><p><code>iomemcon</code></p></td> 29 <td align="left"><p>The <code>iomemcon</code> keyword.</p></td> 49 (iomemcon (1043424 1043455) (unconfined.user object_r unconfined.object low_low))
|
D | README.md | 153 * [iomemcon](cil_xen_statements.md#iomemcon)
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 400 static void cil_reset_iomemcon(struct cil_iomemcon *iomemcon) in cil_reset_iomemcon() argument 402 if (iomemcon->context_str == NULL) { in cil_reset_iomemcon() 403 cil_reset_context(iomemcon->context); in cil_reset_iomemcon() 405 iomemcon->context = NULL; in cil_reset_iomemcon()
|
D | cil_policy.c | 1861 struct cil_iomemcon *iomemcon; in cil_iomemcons_to_policy() local 1864 iomemcon = iomemcons->array[i]; in cil_iomemcons_to_policy() 1865 if (iomemcon->iomem_low == iomemcon->iomem_high) { in cil_iomemcons_to_policy() 1866 fprintf(out, "iomemcon %"PRIx64" ", iomemcon->iomem_low); in cil_iomemcons_to_policy() 1868 fprintf(out, "iomemcon %"PRIx64"-%"PRIx64" ", iomemcon->iomem_low, iomemcon->iomem_high); in cil_iomemcons_to_policy() 1870 cil_context_to_policy(out, iomemcon->context, mls); in cil_iomemcons_to_policy() 1980 cil_iomemcons_to_policy(out, db->iomemcon, db->mls); in cil_gen_policy()
|
D | cil.c | 421 cil_sort_init(&(*db)->iomemcon); in cil_db_init() 476 cil_sort_destroy(&(*db)->iomemcon); in cil_db_destroy() 2600 void cil_iomemcon_init(struct cil_iomemcon **iomemcon) in cil_iomemcon_init() argument 2602 *iomemcon = cil_malloc(sizeof(**iomemcon)); in cil_iomemcon_init() 2604 (*iomemcon)->iomem_low = 0; in cil_iomemcon_init() 2605 (*iomemcon)->iomem_high = 0; in cil_iomemcon_init() 2606 (*iomemcon)->context_str = NULL; in cil_iomemcon_init() 2607 (*iomemcon)->context = NULL; in cil_iomemcon_init()
|
D | cil_write_ast.c | 1401 struct cil_iomemcon *iomemcon = node->data; in cil_write_ast_node() local 1402 fprintf(out, "(iomemcon (%"PRId64" %"PRId64") ", iomemcon->iomem_low, iomemcon->iomem_high); in cil_write_ast_node() 1403 if (iomemcon->context) in cil_write_ast_node() 1404 write_context(out, iomemcon->context, CIL_TRUE); in cil_write_ast_node() 1406 fprintf(out, "%s", iomemcon->context_str); in cil_write_ast_node()
|
D | cil_build_ast.c | 4876 struct cil_iomemcon *iomemcon = NULL; in cil_gen_iomemcon() local 4887 cil_iomemcon_init(&iomemcon); in cil_gen_iomemcon() 4892 rc = cil_fill_integer64(parse_current->next->cl_head, &iomemcon->iomem_low, 0); in cil_gen_iomemcon() 4897 rc = cil_fill_integer64(parse_current->next->cl_head->next, &iomemcon->iomem_high, 0); in cil_gen_iomemcon() 4908 rc = cil_fill_integer64(parse_current->next, &iomemcon->iomem_low, 0); in cil_gen_iomemcon() 4913 iomemcon->iomem_high = iomemcon->iomem_low; in cil_gen_iomemcon() 4917 iomemcon->context_str = parse_current->next->next->data; in cil_gen_iomemcon() 4919 cil_context_init(&iomemcon->context); in cil_gen_iomemcon() 4921 rc = cil_fill_context(parse_current->next->next->cl_head, iomemcon->context); in cil_gen_iomemcon() 4927 ast_node->data = iomemcon; in cil_gen_iomemcon() [all …]
|
D | cil_internal.h | 304 struct cil_sort *iomemcon; member 1052 void cil_iomemcon_init(struct cil_iomemcon **iomemcon);
|
D | cil_post.c | 652 db->iomemcon->count++; in __cil_post_db_count_helper() 824 struct cil_sort *sort = db->iomemcon; in __cil_post_db_array_helper() 1978 struct cil_iomemcon *iomemcon = node->data; in __cil_post_db_cat_helper() local 1979 rc = __evaluate_levelrange_expression(iomemcon->context->range, db); in __cil_post_db_cat_helper() 2431 …rc = __cil_post_process_context_rules(db->iomemcon, cil_post_iomemcon_compare, cil_post_iomemcon_c… in cil_post_db()
|
D | cil_build_ast.h | 195 void cil_destroy_iomemcon(struct cil_iomemcon *iomemcon);
|
D | cil_resolve_ast.c | 2163 struct cil_iomemcon *iomemcon = current->data; in cil_resolve_iomemcon() local 2167 if (iomemcon->context_str != NULL) { in cil_resolve_iomemcon() 2168 …rc = cil_resolve_name(current, iomemcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum… in cil_resolve_iomemcon() 2172 iomemcon->context = (struct cil_context*)context_datum; in cil_resolve_iomemcon() 2174 rc = cil_resolve_context(current, iomemcon->context, extra_args); in cil_resolve_iomemcon()
|
D | cil_binary.c | 4076 rc = cil_iomemcon_to_policydb(pdb, db->iomemcon); in __cil_contexts_to_policydb()
|
/third_party/selinux/checkpolicy/ |
D | policy_scan.l | 213 iomemcon |
|
/third_party/selinux/secilc/test/ |
D | integration.cil | 181 (iomemcon (0 255) system_u_bin_t_l2h)
|