Home
last modified time | relevance | path

Searched refs:user_node (Results 1 – 4 of 4) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_build_ast.h173 int cil_fill_context(struct cil_tree_node *user_node, struct cil_context *context);
229 int cil_fill_context(struct cil_tree_node *user_node, struct cil_context *context);
Dcil_resolve_ast.c851 struct cil_tree_node *user_node = NULL; in cil_resolve_userlevel() local
859 user_node = user_datum->nodes->head->data; in cil_resolve_userlevel()
861 if (user_node->flavor != CIL_USER) { in cil_resolve_userlevel()
904 struct cil_tree_node *user_node = NULL; in cil_resolve_userrange() local
912 user_node = user_datum->nodes->head->data; in cil_resolve_userrange()
914 if (user_node->flavor != CIL_USER) { in cil_resolve_userrange()
955 struct cil_tree_node *user_node = NULL; in cil_resolve_userprefix() local
963 user_node = user_datum->nodes->head->data; in cil_resolve_userprefix()
965 if (user_node->flavor != CIL_USER) { in cil_resolve_userprefix()
982 struct cil_tree_node *user_node = NULL; in cil_resolve_selinuxuser() local
[all …]
Dcil_build_ast.c4098 int cil_fill_context(struct cil_tree_node *user_node, struct cil_context *context) in cil_fill_context() argument
4110 if (user_node == NULL || context == NULL) { in cil_fill_context()
4114 rc = __cil_verify_syntax(user_node, syntax, syntax_len); in cil_fill_context()
4119 context->user_str = user_node->data; in cil_fill_context()
4120 context->role_str = user_node->next->data; in cil_fill_context()
4121 context->type_str = user_node->next->next->data; in cil_fill_context()
4125 if (user_node->next->next->next->cl_head == NULL) { in cil_fill_context()
4126 context->range_str = user_node->next->next->next->data; in cil_fill_context()
4130 rc = cil_fill_levelrange(user_node->next->next->next->cl_head, context->range); in cil_fill_context()
Dcil_post.c1723 struct cil_tree_node *user_node = NULL; in __cil_post_db_userrole_helper() local
1745 user_node = user_datum->nodes->head->data; in __cil_post_db_userrole_helper()
1747 if (user_node->flavor == CIL_USERATTRIBUTE) { in __cil_post_db_userrole_helper()