Searched refs:devicetreecon (Results 1 – 14 of 14) sorted by relevance
/external/selinux/secilc/docs/ |
D | cil_xen_statements.md | 4 Policy version 30 introduced the [`devicetreecon`](cil_xen_statements.md#devicetreecon) statement a… 164 devicetreecon section in Xen Statements 171 (devicetreecon path context_id) 182 <td align="left"><p><code>devicetreecon</code></p></td> 183 <td align="left"><p>The <code>devicetreecon</code> keyword.</p></td> 200 (devicetreecon "/this is/a/path" (unconfined.user object_r unconfined.object low_low))
|
D | README.md | 156 * [devicetreecon](cil_xen_statements.md#devicetreecon)
|
/external/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 365 static void cil_reset_devicetreecon(struct cil_devicetreecon *devicetreecon) in cil_reset_devicetreecon() argument 367 if (devicetreecon->context_str == NULL) { in cil_reset_devicetreecon() 368 cil_reset_context(devicetreecon->context); in cil_reset_devicetreecon()
|
D | cil_tree.c | 1581 struct cil_devicetreecon *devicetreecon = node->data; in cil_tree_print_node() local 1583 cil_log(CIL_INFO, "DEVICETREECON %s", devicetreecon->path); in cil_tree_print_node() 1584 if (devicetreecon->context != NULL) { in cil_tree_print_node() 1585 cil_tree_print_context(devicetreecon->context); in cil_tree_print_node() 1587 cil_log(CIL_INFO, " %s", devicetreecon->context_str); in cil_tree_print_node()
|
D | cil_internal.h | 300 struct cil_sort *devicetreecon; member 1043 void cil_devicetreecon_init(struct cil_devicetreecon **devicetreecon);
|
D | cil_policy.c | 1901 struct cil_devicetreecon *devicetreecon; in cil_devicetreecons_to_policy() local 1904 devicetreecon = devicetreecons->array[i]; in cil_devicetreecons_to_policy() 1905 fprintf(out, "devicetreecon %s ", devicetreecon->path); in cil_devicetreecons_to_policy() 1906 cil_context_to_policy(out, devicetreecon->context, mls); in cil_devicetreecons_to_policy() 1980 cil_devicetreecons_to_policy(out, db->devicetreecon, db->mls); in cil_gen_policy()
|
D | cil_build_ast.c | 5074 struct cil_devicetreecon *devicetreecon = NULL; in cil_gen_devicetreecon() local 5085 cil_devicetreecon_init(&devicetreecon); in cil_gen_devicetreecon() 5087 devicetreecon->path = parse_current->next->data; in cil_gen_devicetreecon() 5090 devicetreecon->context_str = parse_current->next->next->data; in cil_gen_devicetreecon() 5092 cil_context_init(&devicetreecon->context); in cil_gen_devicetreecon() 5094 rc = cil_fill_context(parse_current->next->next->cl_head, devicetreecon->context); in cil_gen_devicetreecon() 5100 ast_node->data = devicetreecon; in cil_gen_devicetreecon() 5107 cil_destroy_devicetreecon(devicetreecon); in cil_gen_devicetreecon() 5111 void cil_destroy_devicetreecon(struct cil_devicetreecon *devicetreecon) in cil_destroy_devicetreecon() argument 5113 if (devicetreecon == NULL) { in cil_destroy_devicetreecon() [all …]
|
D | cil_post.c | 647 db->devicetreecon->count++; in __cil_post_db_count_helper() 843 struct cil_sort *sort = db->devicetreecon; in __cil_post_db_array_helper() 1996 struct cil_devicetreecon *devicetreecon = node->data; in __cil_post_db_cat_helper() local 1997 rc = __evaluate_levelrange_expression(devicetreecon->context->range, db); in __cil_post_db_cat_helper() 2424 …rc = __cil_post_process_context_rules(db->devicetreecon, cil_post_devicetreecon_compare, cil_post_… in cil_post_db()
|
D | cil_build_ast.h | 199 void cil_destroy_devicetreecon(struct cil_devicetreecon *devicetreecon);
|
D | cil_resolve_ast.c | 2213 struct cil_devicetreecon *devicetreecon = current->data; in cil_resolve_devicetreecon() local 2217 if (devicetreecon->context_str != NULL) { in cil_resolve_devicetreecon() 2218 …rc = cil_resolve_name(current, devicetreecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_… in cil_resolve_devicetreecon() 2222 devicetreecon->context = (struct cil_context*)context_datum; in cil_resolve_devicetreecon() 2224 rc = cil_resolve_context(current, devicetreecon->context, extra_args); in cil_resolve_devicetreecon()
|
D | cil.c | 433 cil_sort_init(&(*db)->devicetreecon); in cil_db_init() 486 cil_sort_destroy(&(*db)->devicetreecon); in cil_db_destroy()
|
D | cil_binary.c | 3872 rc = cil_devicetreecon_to_policydb(pdb, db->devicetreecon); in __cil_contexts_to_policydb()
|
/external/selinux/checkpolicy/ |
D | policy_scan.l | 205 devicetreecon |
|
/external/selinux/secilc/test/ |
D | policy.cil | 284 (devicetreecon "/this is/a/path" system_u_bin_t_l2h)
|