Home
last modified time | relevance | path

Searched refs:classorder (Results 1 – 19 of 19) sorted by relevance

/external/selinux/secilc/docs/
Dcil_class_and_permission_statements.md142 classorder section in Class and Permission Statements
145 …s. This is a mandatory statement. Multiple [`classorder`](cil_class_and_permission_statements.md#c…
149 (classorder (class_id ...))
160 <td align="left"><p><code>classorder</code></p></td>
161 <td align="left"><p>The <code>classorder</code> keyword.</p></td>
177 (classorder (file dir))
178 (classorder (dir process))
182classorder`](#classorder), the `unordered` keyword may be used in a [`classorder`](#classorder) st…
194 (classorder (file dir))
195 (classorder (dir foo))
[all …]
DREADME.md41 * [classorder](cil_class_and_permission_statements.md#classorder)
/external/selinux/secilc/test/
Dneverallow.cil2 (classorder (CLASS))
24 (classorder (CLASS c1 c2 c3))
Dpolicy.cil51 (classorder (file char))
52 (classorder (unordered dir))
53 (classorder (unordered c a b d e f))
54 (classorder (char b c a))
Dminimum.cil2 (classorder (CLASS))
Doptional_test.cil3 (classorder (CLASS))
Dbounds.cil2 (classorder (CLASS))
24 (classorder (CLASS c1 c2 c3))
Dblock_test.cil3 (classorder (CLASS))
Din_test.cil3 (classorder (CLASS))
Dname_resolution_test.cil3 (classorder (CLASS))
/external/selinux/python/audit2allow/
Dtest_dummy_policy.cil72 (classorder (blk_file file dir tcp_socket))
/external/selinux/libsepol/cil/src/
Dcil_policy.c712 static void cil_class_decls_to_policy(FILE *out, struct cil_list *classorder) in cil_class_decls_to_policy() argument
716 cil_list_for_each(i1, classorder) { in cil_class_decls_to_policy()
751 static void cil_classes_to_policy(FILE *out, struct cil_list *classorder) in cil_classes_to_policy() argument
757 cil_list_for_each(i1, classorder) { in cil_classes_to_policy()
1926 cil_class_decls_to_policy(out, db->classorder); in cil_gen_policy()
1931 cil_classes_to_policy(out, db->classorder); in cil_gen_policy()
Dcil.c256 (*db)->classorder = NULL; in cil_db_init()
309 cil_list_destroy(&(*db)->classorder, CIL_FALSE); in cil_db_destroy()
1959 void cil_classorder_init(struct cil_classorder **classorder) in cil_classorder_init() argument
1961 *classorder = cil_malloc(sizeof(**classorder)); in cil_classorder_init()
1963 (*classorder)->class_list_str = NULL; in cil_classorder_init()
Dcil_internal.h285 struct cil_list *classorder; member
999 void cil_classorder_init(struct cil_classorder **classorder);
Dcil_build_ast.c450 struct cil_classorder *classorder = NULL; in cil_gen_classorder() local
464 cil_classorder_init(&classorder); in cil_gen_classorder()
466 rc = cil_fill_list(parse_current->next->cl_head, CIL_CLASSORDER, &classorder->class_list_str); in cil_gen_classorder()
471 head = classorder->class_list_str->head; in cil_gen_classorder()
472 cil_list_for_each(curr, classorder->class_list_str) { in cil_gen_classorder()
486 ast_node->data = classorder; in cil_gen_classorder()
493 cil_destroy_classorder(classorder); in cil_gen_classorder()
497 void cil_destroy_classorder(struct cil_classorder *classorder) in cil_destroy_classorder() argument
499 if (classorder == NULL) { in cil_destroy_classorder()
503 if (classorder->class_list_str != NULL) { in cil_destroy_classorder()
[all …]
Dcil_tree.c927 struct cil_classorder *classorder = node->data; in cil_tree_print_node() local
930 if (classorder->class_list_str == NULL) { in cil_tree_print_node()
936 cil_list_for_each(class, classorder->class_list_str) { in cil_tree_print_node()
Dcil_build_ast.h54 void cil_destroy_classorder(struct cil_classorder *classorder);
Dcil_resolve_ast.c1468 struct cil_classorder *classorder = current->data; in cil_resolve_classorder() local
1478 cil_list_for_each(curr, classorder->class_list_str) { in cil_resolve_classorder()
3950 …db->classorder = __cil_ordered_lists_merge_all(&extra_args.classorder_lists, &extra_args.unordered… in cil_resolve_ast()
3951 if (db->classorder == NULL) { in cil_resolve_ast()
4005 cil_list_destroy(&db->classorder, CIL_FALSE); in cil_resolve_ast()
Dcil_binary.c301 cil_list_for_each(curr_class, db->classorder) { in cil_classorder_to_policydb()