Home
last modified time | relevance | path

Searched refs:devicetreecon (Results 1 – 12 of 12) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_reset_ast.c326 static void cil_reset_devicetreecon(struct cil_devicetreecon *devicetreecon) in cil_reset_devicetreecon() argument
328 if (devicetreecon->context_str == NULL) { in cil_reset_devicetreecon()
329 cil_reset_context(devicetreecon->context); in cil_reset_devicetreecon()
Dcil_post.c392 db->devicetreecon->count++; in __cil_post_db_count_helper()
558 struct cil_sort *sort = db->devicetreecon; in __cil_post_db_array_helper()
1334 struct cil_devicetreecon *devicetreecon = node->data; in __cil_post_db_cat_helper() local
1335 rc = __evaluate_levelrange_expression(devicetreecon->context->range, db); in __cil_post_db_cat_helper()
1626 …qsort(db->devicetreecon->array, db->devicetreecon->count, sizeof(db->devicetreecon->array), cil_po… in cil_post_db()
Dcil_tree.c1433 struct cil_devicetreecon *devicetreecon = node->data; in cil_tree_print_node() local
1435 cil_log(CIL_INFO, "DEVICETREECON %s", devicetreecon->path); in cil_tree_print_node()
1436 if (devicetreecon->context != NULL) { in cil_tree_print_node()
1437 cil_tree_print_context(devicetreecon->context); in cil_tree_print_node()
1439 cil_log(CIL_INFO, " %s", devicetreecon->context_str); in cil_tree_print_node()
Dcil_internal.h277 struct cil_sort *devicetreecon; member
945 void cil_devicetreecon_init(struct cil_devicetreecon **devicetreecon);
Dcil_build_ast.c4542 struct cil_devicetreecon *devicetreecon = NULL; in cil_gen_devicetreecon() local
4553 cil_devicetreecon_init(&devicetreecon); in cil_gen_devicetreecon()
4555 devicetreecon->path = parse_current->next->data; in cil_gen_devicetreecon()
4558 devicetreecon->context_str = parse_current->next->next->data; in cil_gen_devicetreecon()
4560 cil_context_init(&devicetreecon->context); in cil_gen_devicetreecon()
4562 rc = cil_fill_context(parse_current->next->next->cl_head, devicetreecon->context); in cil_gen_devicetreecon()
4568 ast_node->data = devicetreecon; in cil_gen_devicetreecon()
4576 cil_destroy_devicetreecon(devicetreecon); in cil_gen_devicetreecon()
4580 void cil_destroy_devicetreecon(struct cil_devicetreecon *devicetreecon) in cil_destroy_devicetreecon() argument
4582 if (devicetreecon == NULL) { in cil_destroy_devicetreecon()
[all …]
Dcil_build_ast.h186 void cil_destroy_devicetreecon(struct cil_devicetreecon *devicetreecon);
Dcil_resolve_ast.c1974 struct cil_devicetreecon *devicetreecon = current->data; in cil_resolve_devicetreecon() local
1978 if (devicetreecon->context_str != NULL) { in cil_resolve_devicetreecon()
1979 …rc = cil_resolve_name(current, devicetreecon->context_str, CIL_SYM_CONTEXTS, extra_args, &context_… in cil_resolve_devicetreecon()
1983 devicetreecon->context = (struct cil_context*)context_datum; in cil_resolve_devicetreecon()
1985 rc = cil_resolve_context(current, devicetreecon->context, extra_args); in cil_resolve_devicetreecon()
Dcil.c251 cil_sort_init(&(*db)->devicetreecon); in cil_db_init()
297 cil_sort_destroy(&(*db)->devicetreecon); in cil_db_destroy()
Dcil_binary.c3368 rc = cil_devicetreecon_to_policydb(pdb, db->devicetreecon); in __cil_contexts_to_policydb()
/external/selinux/checkpolicy/
Dpolicy_scan.l190 devicetreecon |
/external/selinux/secilc/test/
Dpolicy.cil253 (devicetreecon "/this is/a/path" system_u_bin_t_l2h)
/external/selinux/libsepol/
DChangeLog8 * fix building Xen policy with devicetreecon, and add devicetreecon