Lines Matching refs:violation
4790 static int cil_check_neverallow(const struct cil_db *db, policydb_t *pdb, struct cil_tree_node *node, int *violation)
4831 *violation = CIL_TRUE;
4853 *violation = CIL_TRUE;
4877 static int cil_check_neverallows(const struct cil_db *db, policydb_t *pdb, struct cil_list *neverallows, int *violation)
4883 rc = cil_check_neverallow(db, pdb, item->data, violation);
4946 static int cil_check_type_bounds(const struct cil_db *db, policydb_t *pdb, void *type_value_to_cil, struct cil_class *class_value_to_cil[], struct cil_perm **perm_value_to_cil[], int *violation)
4976 *violation = CIL_TRUE;
5158 int violation = CIL_FALSE;
5160 rc = cil_check_neverallows(db, pdb, neverallows, &violation);
5166 violation = CIL_TRUE;
5172 violation = CIL_TRUE;
5176 rc = cil_check_type_bounds(db, pdb, type_value_to_cil, class_value_to_cil, perm_value_to_cil, &violation);
5179 if (violation == CIL_TRUE) {