libselinux/libselinux-rhat.patch

21 lines
665 B
Diff
Raw Normal View History

diff --exclude-from=exclude -N -u -r nsalibselinux/utils/getsebool.c libselinux-2.0.5/utils/getsebool.c
--- nsalibselinux/utils/getsebool.c 2006-11-16 17:15:17.000000000 -0500
+++ libselinux-2.0.5/utils/getsebool.c 2007-03-08 11:07:32.000000000 -0500
@@ -75,14 +75,14 @@
fprintf(stderr, "Error getting active value for %s\n",
names[i]);
rc = -1;
- goto out;
+ continue;
}
pending = security_get_boolean_pending(names[i]);
if (pending < 0) {
fprintf(stderr, "Error getting pending value for %s\n",
names[i]);
rc = -1;
- goto out;
+ continue;
}
if (pending != active) {
printf("%s --> %s pending: %s\n", names[i],