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