Searched refs:devicetreecon (Results 1 – 13 of 13) sorted by relevance
/third_party/selinux/secilc/docs/ |
D | cil_xen_statements.md | 4 Policy version 30 introduced the [`devicetreecon`](cil_xen_statements.md#devicetreecon) statement a… 180 devicetreecon section in Xen Statements 188 (devicetreecon path context_id) 200 <td align="left"><p><code>devicetreecon</code></p></td> 201 <td align="left"><p>The <code>devicetreecon</code> keyword.</p></td> 219 (devicetreecon "/this is/a/path" (unconfined.user object_r unconfined.object low_low))
|
D | README.md | 157 * [devicetreecon](cil_xen_statements.md#devicetreecon)
|
/third_party/selinux/libsepol/cil/src/ |
D | cil_reset_ast.c | 427 static void cil_reset_devicetreecon(struct cil_devicetreecon *devicetreecon) in cil_reset_devicetreecon() argument 429 if (devicetreecon->context_str == NULL) { in cil_reset_devicetreecon() 430 cil_reset_context(devicetreecon->context); in cil_reset_devicetreecon() 432 devicetreecon->context = NULL; in cil_reset_devicetreecon()
|
D | cil_write_ast.c | 1436 struct cil_devicetreecon *devicetreecon = node->data; in cil_write_ast_node() local 1437 fprintf(out, "(devicetreecon \"%s\" ", devicetreecon->path); in cil_write_ast_node() 1438 if (devicetreecon->context) in cil_write_ast_node() 1439 write_context(out, devicetreecon->context, CIL_TRUE); in cil_write_ast_node() 1441 fprintf(out, "%s", devicetreecon->context_str); in cil_write_ast_node()
|
D | cil_internal.h | 307 struct cil_sort *devicetreecon; member 1055 void cil_devicetreecon_init(struct cil_devicetreecon **devicetreecon);
|
D | cil_policy.c | 1904 struct cil_devicetreecon *devicetreecon; in cil_devicetreecons_to_policy() local 1907 devicetreecon = devicetreecons->array[i]; in cil_devicetreecons_to_policy() 1908 fprintf(out, "devicetreecon %s ", devicetreecon->path); in cil_devicetreecons_to_policy() 1909 cil_context_to_policy(out, devicetreecon->context, mls); in cil_devicetreecons_to_policy() 1983 cil_devicetreecons_to_policy(out, db->devicetreecon, db->mls); in cil_gen_policy()
|
D | cil_build_ast.c | 5109 struct cil_devicetreecon *devicetreecon = NULL; in cil_gen_devicetreecon() local 5120 cil_devicetreecon_init(&devicetreecon); in cil_gen_devicetreecon() 5122 devicetreecon->path = parse_current->next->data; in cil_gen_devicetreecon() 5125 devicetreecon->context_str = parse_current->next->next->data; in cil_gen_devicetreecon() 5127 cil_context_init(&devicetreecon->context); in cil_gen_devicetreecon() 5129 rc = cil_fill_context(parse_current->next->next->cl_head, devicetreecon->context); in cil_gen_devicetreecon() 5135 ast_node->data = devicetreecon; in cil_gen_devicetreecon() 5142 cil_destroy_devicetreecon(devicetreecon); in cil_gen_devicetreecon() 5146 void cil_destroy_devicetreecon(struct cil_devicetreecon *devicetreecon) in cil_destroy_devicetreecon() argument 5148 if (devicetreecon == NULL) { in cil_destroy_devicetreecon() [all …]
|
D | cil_post.c | 661 db->devicetreecon->count++; in __cil_post_db_count_helper() 857 struct cil_sort *sort = db->devicetreecon; in __cil_post_db_array_helper() 2002 struct cil_devicetreecon *devicetreecon = node->data; in __cil_post_db_cat_helper() local 2003 rc = __evaluate_levelrange_expression(devicetreecon->context->range, db); in __cil_post_db_cat_helper() 2449 …rc = __cil_post_process_context_rules(db->devicetreecon, cil_post_devicetreecon_compare, cil_post_… in cil_post_db()
|
D | cil_build_ast.h | 201 void cil_destroy_devicetreecon(struct cil_devicetreecon *devicetreecon);
|
D | cil_resolve_ast.c | 2238 struct cil_devicetreecon *devicetreecon = current->data; in cil_resolve_devicetreecon() local 2242 if (devicetreecon->context_str != NULL) { in cil_resolve_devicetreecon() 2243 …rc = cil_resolve_name(current, devicetreecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_… in cil_resolve_devicetreecon() 2247 devicetreecon->context = (struct cil_context*)context_datum; in cil_resolve_devicetreecon() 2249 rc = cil_resolve_context(current, devicetreecon->context, extra_args); in cil_resolve_devicetreecon()
|
D | cil.c | 424 cil_sort_init(&(*db)->devicetreecon); in cil_db_init() 479 cil_sort_destroy(&(*db)->devicetreecon); in cil_db_destroy()
|
D | cil_binary.c | 4091 rc = cil_devicetreecon_to_policydb(pdb, db->devicetreecon); in __cil_contexts_to_policydb()
|
/third_party/selinux/checkpolicy/ |
D | policy_scan.l | 219 devicetreecon |
|