Home | History | Annotate | Download | only in src

Lines Matching defs:permx

2060 		if (rule->perms.x.permx_str == NULL && rule->perms.x.permx != NULL) {
2061 cil_destroy_permissionx(rule->perms.x.permx);
2068 int cil_fill_permissionx(struct cil_tree_node *parse_current, struct cil_permissionx *permx)
2085 permx->kind = CIL_PERMX_KIND_IOCTL;
2092 permx->obj_str = parse_current->next->data;
2094 rc = cil_gen_expr(parse_current->next->next, CIL_PERMISSIONX, &permx->expr_str);
2117 struct cil_permissionx *permx = NULL;
2129 cil_permissionx_init(&permx);
2133 rc = cil_gen_node(db, ast_node, (struct cil_symtab_datum*)permx, (hashtab_key_t)key, CIL_SYM_PERMX, CIL_PERMISSIONX);
2138 rc = cil_fill_permissionx(parse_current->next->next->cl_head, permx);
2148 cil_destroy_permissionx(permx);
2153 void cil_destroy_permissionx(struct cil_permissionx *permx)
2155 if (permx == NULL) {
2159 cil_symtab_datum_destroy(&permx->datum);
2161 cil_list_destroy(&permx->expr_str, CIL_TRUE);
2162 ebitmap_destroy(permx->perms);
2163 free(permx->perms);
2164 free(permx);
2199 cil_permissionx_init(&rule->perms.x.permx);
2201 rc = cil_fill_permissionx(parse_current->next->next->next->cl_head, rule->perms.x.permx);