• Home
  • Raw
  • Download

Lines Matching refs:permx

2078 		if (rule->perms.x.permx_str == NULL && rule->perms.x.permx != NULL) {  in cil_destroy_avrule()
2079 cil_destroy_permissionx(rule->perms.x.permx); in cil_destroy_avrule()
2086 int cil_fill_permissionx(struct cil_tree_node *parse_current, struct cil_permissionx *permx) in cil_fill_permissionx() argument
2103 permx->kind = CIL_PERMX_KIND_IOCTL; in cil_fill_permissionx()
2110 permx->obj_str = parse_current->next->data; in cil_fill_permissionx()
2112 rc = cil_gen_expr(parse_current->next->next, CIL_PERMISSIONX, &permx->expr_str); in cil_fill_permissionx()
2134 struct cil_permissionx *permx = NULL; in cil_gen_permissionx() local
2146 cil_permissionx_init(&permx); in cil_gen_permissionx()
2150 …rc = cil_gen_node(db, ast_node, (struct cil_symtab_datum*)permx, (hashtab_key_t)key, CIL_SYM_PERMX… in cil_gen_permissionx()
2155 rc = cil_fill_permissionx(parse_current->next->next->cl_head, permx); in cil_gen_permissionx()
2164 cil_destroy_permissionx(permx); in cil_gen_permissionx()
2169 void cil_destroy_permissionx(struct cil_permissionx *permx) in cil_destroy_permissionx() argument
2171 if (permx == NULL) { in cil_destroy_permissionx()
2175 cil_symtab_datum_destroy(&permx->datum); in cil_destroy_permissionx()
2177 cil_list_destroy(&permx->expr_str, CIL_TRUE); in cil_destroy_permissionx()
2178 ebitmap_destroy(permx->perms); in cil_destroy_permissionx()
2179 free(permx->perms); in cil_destroy_permissionx()
2180 free(permx); in cil_destroy_permissionx()
2215 cil_permissionx_init(&rule->perms.x.permx); in cil_gen_avrulex()
2217 rc = cil_fill_permissionx(parse_current->next->next->next->cl_head, rule->perms.x.permx); in cil_gen_avrulex()