Home
last modified time | relevance | path

Searched refs:classorder (Results 1 – 18 of 18) 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))
Dminimum.cil2 (classorder (CLASS))
Dpolicy.cil51 (classorder (file char))
52 (classorder (unordered dir))
53 (classorder (unordered c a b d e f))
54 (classorder (char b c a))
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/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()
1891 cil_class_decls_to_policy(out, db->classorder); in cil_gen_policy()
1896 cil_classes_to_policy(out, db->classorder); in cil_gen_policy()
Dcil.c252 (*db)->classorder = NULL; in cil_db_init()
303 cil_list_destroy(&(*db)->classorder, CIL_FALSE); in cil_db_destroy()
1919 void cil_classorder_init(struct cil_classorder **classorder) in cil_classorder_init() argument
1921 *classorder = cil_malloc(sizeof(**classorder)); in cil_classorder_init()
1923 (*classorder)->class_list_str = NULL; in cil_classorder_init()
Dcil_internal.h281 struct cil_list *classorder; member
967 void cil_classorder_init(struct cil_classorder **classorder);
Dcil_build_ast.c416 struct cil_classorder *classorder = NULL; in cil_gen_classorder() local
430 cil_classorder_init(&classorder); in cil_gen_classorder()
432 rc = cil_fill_list(parse_current->next->cl_head, CIL_CLASSORDER, &classorder->class_list_str); in cil_gen_classorder()
437 head = classorder->class_list_str->head; in cil_gen_classorder()
438 cil_list_for_each(curr, classorder->class_list_str) { in cil_gen_classorder()
452 ast_node->data = classorder; in cil_gen_classorder()
459 cil_destroy_classorder(classorder); in cil_gen_classorder()
463 void cil_destroy_classorder(struct cil_classorder *classorder) in cil_destroy_classorder() argument
465 if (classorder == NULL) { in cil_destroy_classorder()
469 if (classorder->class_list_str != NULL) { in cil_destroy_classorder()
[all …]
Dcil_tree.c912 struct cil_classorder *classorder = node->data; in cil_tree_print_node() local
915 if (classorder->class_list_str == NULL) { in cil_tree_print_node()
921 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.c1422 struct cil_classorder *classorder = current->data; in cil_resolve_classorder() local
1432 cil_list_for_each(curr, classorder->class_list_str) { in cil_resolve_classorder()
3836 …db->classorder = __cil_ordered_lists_merge_all(&extra_args.classorder_lists, &extra_args.unordered… in cil_resolve_ast()
3837 if (db->classorder == NULL) { in cil_resolve_ast()
3891 cil_list_destroy(&db->classorder, CIL_FALSE); in cil_resolve_ast()
Dcil_binary.c297 cil_list_for_each(curr_class, db->classorder) { in cil_classorder_to_policydb()