Home
last modified time | relevance | path

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

/external/selinux/secilc/docs/
Dcil_sid_statements.md40 sidorder section in SID Statements
43 …a mandatory statement when SIDs are defined. Multiple [`sidorder`](cil_sid_statements.md#sidorder)…
47 (sidorder (sid_id ...))
58 <td align="left"><p><code>sidorder</code></p></td>
59 <td align="left"><p>The <code>sidorder</code> keyword.</p></td>
75 (sidorder (kernel security))
76 (sidorder (security unlabeled))
DREADME.md120 * [sidorder](cil_sid_statements.md#sidorder)
Dcil_reference_guide.md8 …#allow) rule, one [`sid`](cil_sid_statements.md#sid), [`sidorder`](cil_sid_statements.md#sidorder)…
Dcil_mls_labeling_statements.md509 (sidorder (kernel))
/external/selinux/secilc/test/
Dminimum.cil4 (sidorder (SID))
Doptional_test.cil5 (sidorder (SID))
Dneverallow.cil4 (sidorder (SID))
Dblock_test.cil5 (sidorder (SID))
Din_test.cil5 (sidorder (SID))
Dpolicy.cil114 (sidorder (kernel security))
115 (sidorder (security unlabeled))
Dname_resolution_test.cil5 (sidorder (SID))
Dbounds.cil4 (sidorder (SID))
/external/selinux/libsepol/cil/src/
Dcil.c252 (*db)->sidorder = NULL; in cil_db_init()
303 cil_list_destroy(&(*db)->sidorder, CIL_FALSE); in cil_db_destroy()
1961 void cil_sidorder_init(struct cil_sidorder **sidorder) in cil_sidorder_init() argument
1963 *sidorder = cil_malloc(sizeof(**sidorder)); in cil_sidorder_init()
1965 (*sidorder)->sid_list_str = NULL; in cil_sidorder_init()
Dcil_internal.h281 struct cil_list *sidorder; member
980 void cil_sidorder_init(struct cil_sidorder **sidorder);
Dcil_build_ast.c1133 struct cil_sidorder *sidorder = NULL; in cil_gen_sidorder() local
1146 cil_sidorder_init(&sidorder); in cil_gen_sidorder()
1148 rc = cil_fill_list(parse_current->next->cl_head, CIL_SIDORDER, &sidorder->sid_list_str); in cil_gen_sidorder()
1153 cil_list_for_each(curr, sidorder->sid_list_str) { in cil_gen_sidorder()
1161 ast_node->data = sidorder; in cil_gen_sidorder()
1168 cil_destroy_sidorder(sidorder); in cil_gen_sidorder()
1172 void cil_destroy_sidorder(struct cil_sidorder *sidorder) in cil_destroy_sidorder() argument
1174 if (sidorder == NULL) { in cil_destroy_sidorder()
1178 if (sidorder->sid_list_str != NULL) { in cil_destroy_sidorder()
1179 cil_list_destroy(&sidorder->sid_list_str, 1); in cil_destroy_sidorder()
[all …]
Dcil_policy.c721 static void cil_sid_decls_to_policy(FILE *out, struct cil_list *sidorder) in cil_sid_decls_to_policy() argument
725 cil_list_for_each(i1, sidorder) { in cil_sid_decls_to_policy()
1897 cil_sid_decls_to_policy(out, db->sidorder); in cil_gen_policy()
1940 cil_sid_contexts_to_policy(out, db->sidorder, db->mls); in cil_gen_policy()
Dcil_tree.c1604 struct cil_sidorder *sidorder = node->data; in cil_tree_print_node() local
1607 if (sidorder->sid_list_str == NULL) { in cil_tree_print_node()
1613 cil_list_for_each(sid, sidorder->sid_list_str) { in cil_tree_print_node()
Dcil_build_ast.h80 void cil_destroy_sidorder(struct cil_sidorder *sidorder);
Dcil_resolve_ast.c1514 struct cil_sidorder *sidorder = current->data; in cil_resolve_sidorder() local
1523 cil_list_for_each(curr, sidorder->sid_list_str) { in cil_resolve_sidorder()
3883 db->sidorder = __cil_ordered_lists_merge_all(&extra_args.sidorder_lists, NULL); in cil_resolve_ast()
3884 if (db->sidorder == NULL) { in cil_resolve_ast()
3942 cil_list_destroy(&db->sidorder, CIL_FALSE); in cil_resolve_ast()
3969 rc = __cil_verify_initsids(db->sidorder); in cil_resolve_ast()
Dcil_binary.c3094 if (db->sidorder == NULL || db->sidorder->head == NULL) { in cil_sidorder_to_policydb()
3099 cil_list_for_each(curr, db->sidorder) { in cil_sidorder_to_policydb()