Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_resolve_ast.c855 struct cil_tree_node *user_node = NULL; in cil_resolve_userlevel() local
863 user_node = user_datum->nodes->head->data; in cil_resolve_userlevel()
865 if (user_node->flavor != CIL_USER) { in cil_resolve_userlevel()
908 struct cil_tree_node *user_node = NULL; in cil_resolve_userrange() local
916 user_node = user_datum->nodes->head->data; in cil_resolve_userrange()
918 if (user_node->flavor != CIL_USER) { in cil_resolve_userrange()
959 struct cil_tree_node *user_node = NULL; in cil_resolve_userprefix() local
967 user_node = user_datum->nodes->head->data; in cil_resolve_userprefix()
969 if (user_node->flavor != CIL_USER) { in cil_resolve_userprefix()
986 struct cil_tree_node *user_node = NULL; in cil_resolve_selinuxuser() local
[all …]
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_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.c1727 struct cil_tree_node *user_node = NULL; in __cil_post_db_userrole_helper() local
1749 user_node = user_datum->nodes->head->data; in __cil_post_db_userrole_helper()
1751 if (user_node->flavor == CIL_USERATTRIBUTE) { in __cil_post_db_userrole_helper()