Searched refs:sepol_constrain (Results 1 – 1 of 1) sorted by relevance
2732 constraint_node_t *sepol_constrain = NULL; in cil_constrain_to_policydb_helper() local2736 sepol_constrain = cil_malloc(sizeof(*sepol_constrain)); in cil_constrain_to_policydb_helper()2737 memset(sepol_constrain, 0, sizeof(constraint_node_t)); in cil_constrain_to_policydb_helper()2742 rc = __cil_perms_to_datum(perms, sepol_class, &sepol_constrain->permissions); in cil_constrain_to_policydb_helper()2752 sepol_constrain->expr = sepol_expr; in cil_constrain_to_policydb_helper()2753 sepol_constrain->next = sepol_class->constraints; in cil_constrain_to_policydb_helper()2754 sepol_class->constraints = sepol_constrain; in cil_constrain_to_policydb_helper()2759 free(sepol_constrain); in cil_constrain_to_policydb_helper()