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.h171 int cil_fill_context(struct cil_tree_node *user_node, struct cil_context *context);
221 int cil_fill_context(struct cil_tree_node *user_node, struct cil_context *context);
Dcil_resolve_ast.c799 struct cil_tree_node *user_node = NULL; in cil_resolve_userlevel() local
807 user_node = user_datum->nodes->head->data; in cil_resolve_userlevel()
809 if (user_node->flavor != CIL_USER) { in cil_resolve_userlevel()
852 struct cil_tree_node *user_node = NULL; in cil_resolve_userrange() local
860 user_node = user_datum->nodes->head->data; in cil_resolve_userrange()
862 if (user_node->flavor != CIL_USER) { in cil_resolve_userrange()
903 struct cil_tree_node *user_node = NULL; in cil_resolve_userprefix() local
911 user_node = user_datum->nodes->head->data; in cil_resolve_userprefix()
913 if (user_node->flavor != CIL_USER) { in cil_resolve_userprefix()
930 struct cil_tree_node *user_node = NULL; in cil_resolve_selinuxuser() local
[all …]
Dcil_build_ast.c4037 int cil_fill_context(struct cil_tree_node *user_node, struct cil_context *context) in cil_fill_context() argument
4049 if (user_node == NULL || context == NULL) { in cil_fill_context()
4053 rc = __cil_verify_syntax(user_node, syntax, syntax_len); in cil_fill_context()
4058 context->user_str = user_node->data; in cil_fill_context()
4059 context->role_str = user_node->next->data; in cil_fill_context()
4060 context->type_str = user_node->next->next->data; in cil_fill_context()
4064 if (user_node->next->next->next->cl_head == NULL) { in cil_fill_context()
4065 context->range_str = user_node->next->next->next->data; in cil_fill_context()
4069 rc = cil_fill_levelrange(user_node->next->next->next->cl_head, context->range); in cil_fill_context()
Dcil_post.c1387 struct cil_tree_node *user_node = NULL; in __cil_post_db_userrole_helper() local
1409 user_node = user_datum->nodes->head->data; in __cil_post_db_userrole_helper()
1411 if (user_node->flavor == CIL_USERATTRIBUTE) { in __cil_post_db_userrole_helper()