Searched refs:sepol_constrain (Results 1 – 1 of 1) sorted by relevance
2591 constraint_node_t *sepol_constrain = NULL; in cil_constrain_to_policydb_helper() local2595 sepol_constrain = cil_malloc(sizeof(*sepol_constrain)); in cil_constrain_to_policydb_helper()2596 memset(sepol_constrain, 0, sizeof(constraint_node_t)); in cil_constrain_to_policydb_helper()2601 rc = __cil_perms_to_datum(perms, sepol_class, &sepol_constrain->permissions); in cil_constrain_to_policydb_helper()2611 sepol_constrain->expr = sepol_expr; in cil_constrain_to_policydb_helper()2612 sepol_constrain->next = sepol_class->constraints; in cil_constrain_to_policydb_helper()2613 sepol_class->constraints = sepol_constrain; in cil_constrain_to_policydb_helper()2618 free(sepol_constrain); in cil_constrain_to_policydb_helper()