Searched refs:iomemcon (Results 1 – 15 of 15) sorted by relevance
/external/selinux/secilc/docs/ |
D | cil_xen_statements.md | 8 iomemcon section in Xen Statements 15 (iomemcon mem_addr|(mem_low mem_high) context_id) 26 <td align="left"><p><code>iomemcon</code></p></td> 27 <td align="left"><p>The <code>iomemcon</code> keyword.</p></td> 46 (iomemcon (1043424 1043455) (unconfined.user object_r unconfined.object low_low))
|
D | README.md | 148 * [iomemcon](cil_xen_statements.md#iomemcon)
|
/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 330 static void cil_reset_iomemcon(struct cil_iomemcon *iomemcon) in cil_reset_iomemcon() argument 332 if (iomemcon->context_str == NULL) { in cil_reset_iomemcon() 333 cil_reset_context(iomemcon->context); in cil_reset_iomemcon()
|
D | cil.c | 257 cil_sort_init(&(*db)->iomemcon); in cil_db_init() 306 cil_sort_destroy(&(*db)->iomemcon); in cil_db_destroy() 2256 void cil_iomemcon_init(struct cil_iomemcon **iomemcon) in cil_iomemcon_init() argument 2258 *iomemcon = cil_malloc(sizeof(**iomemcon)); in cil_iomemcon_init() 2260 (*iomemcon)->iomem_low = 0; in cil_iomemcon_init() 2261 (*iomemcon)->iomem_high = 0; in cil_iomemcon_init() 2262 (*iomemcon)->context_str = NULL; in cil_iomemcon_init() 2263 (*iomemcon)->context = NULL; in cil_iomemcon_init()
|
D | cil_tree.c | 1410 struct cil_iomemcon *iomemcon = node->data; in cil_tree_print_node() local 1412 cil_log(CIL_INFO, "IOMEMCON ( %"PRId64" %"PRId64" )", iomemcon->iomem_low, iomemcon->iomem_high); in cil_tree_print_node() 1413 if (iomemcon->context != NULL) { in cil_tree_print_node() 1414 cil_tree_print_context(iomemcon->context); in cil_tree_print_node() 1416 cil_log(CIL_INFO, " %s", iomemcon->context_str); in cil_tree_print_node()
|
D | cil_post.c | 408 db->iomemcon->count++; in __cil_post_db_count_helper() 558 struct cil_sort *sort = db->iomemcon; in __cil_post_db_array_helper() 1624 struct cil_iomemcon *iomemcon = node->data; in __cil_post_db_cat_helper() local 1625 rc = __evaluate_levelrange_expression(iomemcon->context->range, db); in __cil_post_db_cat_helper() 1943 …qsort(db->iomemcon->array, db->iomemcon->count, sizeof(db->iomemcon->array), cil_post_iomemcon_com… in cil_post_db()
|
D | cil_policy.c | 239 struct cil_iomemcon *iomemcon = (struct cil_iomemcon*)sort->array[i]; in cil_iomemcon_to_policy() local 240 …fprintf(file_arr[NETIFCONS], "iomemcon %"PRId64"-%"PRId64" ", iomemcon->iomem_low, iomemcon->iomem… in cil_iomemcon_to_policy() 241 cil_context_to_policy(file_arr, NETIFCONS, iomemcon->context); in cil_iomemcon_to_policy() 1355 rc = cil_iomemcon_to_policy(file_arr, db->iomemcon); in cil_gen_policy()
|
D | cil_build_ast.c | 4638 struct cil_iomemcon *iomemcon = NULL; in cil_gen_iomemcon() local 4649 cil_iomemcon_init(&iomemcon); in cil_gen_iomemcon() 4654 rc = cil_fill_integer64(parse_current->next->cl_head, &iomemcon->iomem_low); in cil_gen_iomemcon() 4659 rc = cil_fill_integer64(parse_current->next->cl_head->next, &iomemcon->iomem_high); in cil_gen_iomemcon() 4670 rc = cil_fill_integer64(parse_current->next, &iomemcon->iomem_low);; in cil_gen_iomemcon() 4675 iomemcon->iomem_high = iomemcon->iomem_low; in cil_gen_iomemcon() 4679 iomemcon->context_str = parse_current->next->next->data; in cil_gen_iomemcon() 4681 cil_context_init(&iomemcon->context); in cil_gen_iomemcon() 4683 rc = cil_fill_context(parse_current->next->next->cl_head, iomemcon->context); in cil_gen_iomemcon() 4689 ast_node->data = iomemcon; in cil_gen_iomemcon() [all …]
|
D | cil_internal.h | 284 struct cil_sort *iomemcon; member 987 void cil_iomemcon_init(struct cil_iomemcon **iomemcon);
|
D | cil_build_ast.h | 187 void cil_destroy_iomemcon(struct cil_iomemcon *iomemcon);
|
D | cil_resolve_ast.c | 2035 struct cil_iomemcon *iomemcon = current->data; in cil_resolve_iomemcon() local 2039 if (iomemcon->context_str != NULL) { in cil_resolve_iomemcon() 2040 …rc = cil_resolve_name(current, iomemcon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_datum… in cil_resolve_iomemcon() 2044 iomemcon->context = (struct cil_context*)context_datum; in cil_resolve_iomemcon() 2046 rc = cil_resolve_context(current, iomemcon->context, extra_args); in cil_resolve_iomemcon()
|
D | cil_binary.c | 3654 rc = cil_iomemcon_to_policydb(pdb, db->iomemcon); in __cil_contexts_to_policydb()
|
/external/selinux/checkpolicy/ |
D | policy_scan.l | 192 iomemcon |
|
/external/selinux/secilc/test/ |
D | integration.cil | 181 (iomemcon (0 255) system_u_bin_t_l2h)
|
D | policy.cil | 279 (iomemcon (0 255) system_u_bin_t_l2h)
|