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