c4d0d7f
diff -up setools-3.3.7/libqpol/src/avrule_query.c~ setools-3.3.7/libqpol/src/avrule_query.c
c4d0d7f
--- setools-3.3.7/libqpol/src/avrule_query.c~	2010-04-23 12:22:08.000000000 -0400
c4d0d7f
+++ setools-3.3.7/libqpol/src/avrule_query.c	2011-01-06 10:42:50.000000000 -0500
c4d0d7f
@@ -57,8 +57,9 @@ int qpol_policy_get_avrule_iter(const qp
c4d0d7f
 
c4d0d7f
 	if ((rule_type_mask & QPOL_RULE_NEVERALLOW) && !qpol_policy_has_capability(policy, QPOL_CAP_NEVERALLOW)) {
c4d0d7f
 		ERR(policy, "%s", "Cannot get avrules: Neverallow rules requested but not available");
c4d0d7f
-		errno = ENOTSUP;
c4d0d7f
-		return STATUS_ERR;
c4d0d7f
+/*		errno = ENOTSUP;
c4d0d7f
+		return STATUS_ERR; */
c4d0d7f
+		return STATUS_SUCCESS;
c4d0d7f
 	}
c4d0d7f
 
c4d0d7f
 	db = &policy->p->p;