Home
last modified time | relevance | path

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

/third_party/selinux/secilc/docs/
Dcil_class_and_permission_statements.md162 classorder section in Class and Permission Statements
165 …s. This is a mandatory statement. Multiple [`classorder`](cil_class_and_permission_statements.md#c…
170 (classorder (class_id ...))
182 <td align="left"><p><code>classorder</code></p></td>
183 <td align="left"><p>The <code>classorder</code> keyword.</p></td>
200 (classorder (file dir))
201 (classorder (dir process))
206classorder`](#classorder), the `unordered` keyword may be used in a [`classorder`](#classorder) st…
219 (classorder (file dir))
220 (classorder (dir foo))
[all …]
DREADME.md41 * [classorder](cil_class_and_permission_statements.md#classorder)
/third_party/selinux/secilc/test/
Dneverallow.cil2 (classorder (CLASS))
24 (classorder (CLASS c1 c2 c3))
Dminimum.cil2 (classorder (CLASS))
Doptional_test.cil3 (classorder (CLASS))
Dopt-expected.cil3 (classorder (cl01))
Dbounds.cil2 (classorder (CLASS))
24 (classorder (CLASS c1 c2 c3))
Dopt-input.cil3 (classorder (cl01))
Danonymous_arg_test.cil5 (classorder (CLASS))
Dblock_test.cil3 (classorder (CLASS))
Din_test.cil3 (classorder (CLASS))
Dname_resolution_test.cil3 (classorder (CLASS))
/third_party/selinux/libsepol/cil/src/
Dcil_policy.c709 static void cil_class_decls_to_policy(FILE *out, struct cil_list *classorder) in cil_class_decls_to_policy() argument
713 cil_list_for_each(i1, classorder) { in cil_class_decls_to_policy()
748 static void cil_classes_to_policy(FILE *out, struct cil_list *classorder) in cil_classes_to_policy() argument
754 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.c410 (*db)->classorder = NULL; in cil_db_init()
465 cil_list_destroy(&(*db)->classorder, CIL_FALSE); in cil_db_destroy()
2215 void cil_classorder_init(struct cil_classorder **classorder) in cil_classorder_init() argument
2217 *classorder = cil_malloc(sizeof(**classorder)); in cil_classorder_init()
2219 (*classorder)->class_list_str = NULL; in cil_classorder_init()
Dcil_internal.h293 struct cil_list *classorder; member
1013 void cil_classorder_init(struct cil_classorder **classorder);
Dcil_build_ast.c521 struct cil_classorder *classorder = NULL; in cil_gen_classorder() local
535 cil_classorder_init(&classorder); in cil_gen_classorder()
537 rc = cil_fill_list(parse_current->next->cl_head, CIL_CLASSORDER, &classorder->class_list_str); in cil_gen_classorder()
542 head = classorder->class_list_str->head; in cil_gen_classorder()
543 cil_list_for_each(curr, classorder->class_list_str) { in cil_gen_classorder()
557 ast_node->data = classorder; in cil_gen_classorder()
564 cil_destroy_classorder(classorder); in cil_gen_classorder()
568 void cil_destroy_classorder(struct cil_classorder *classorder) in cil_destroy_classorder() argument
570 if (classorder == NULL) { in cil_destroy_classorder()
574 if (classorder->class_list_str != NULL) { in cil_destroy_classorder()
[all …]
Dcil_build_ast.h56 void cil_destroy_classorder(struct cil_classorder *classorder);
Dcil_resolve_ast.c1482 struct cil_classorder *classorder = current->data; in cil_resolve_classorder() local
1492 cil_list_for_each(curr, classorder->class_list_str) { in cil_resolve_classorder()
4171 …db->classorder = __cil_ordered_lists_merge_all(&extra_args.classorder_lists, &extra_args.unordered… in cil_resolve_ast()
4172 if (db->classorder == NULL) { in cil_resolve_ast()
4237 cil_list_destroy(&db->classorder, CIL_FALSE); in cil_resolve_ast()
Dcil_write_ast.c768 struct cil_classorder *classorder = node->data; in cil_write_ast_node() local
770 write_string_list(out, classorder->class_list_str); in cil_write_ast_node()
Dcil_binary.c292 cil_list_for_each(curr_class, db->classorder) { in cil_classorder_to_policydb()