rpms/libselinux/devel libselinux-rhat.patch, 1.108, 1.109 libselinux.spec, 1.251, 1.252

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Thu Mar 8 16:15:38 UTC 2007


Author: dwalsh

Update of /cvs/dist/rpms/libselinux/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv5745

Modified Files:
	libselinux-rhat.patch libselinux.spec 
Log Message:
* Tue Mar 8 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.5-2
- Do not fail on permission denied in getsebool


libselinux-rhat.patch:
 getsebool.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Index: libselinux-rhat.patch
===================================================================
RCS file: /cvs/dist/rpms/libselinux/devel/libselinux-rhat.patch,v
retrieving revision 1.108
retrieving revision 1.109
diff -u -r1.108 -r1.109
--- libselinux-rhat.patch	23 Feb 2007 21:49:32 -0000	1.108
+++ libselinux-rhat.patch	8 Mar 2007 16:15:36 -0000	1.109
@@ -0,0 +1,20 @@
+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],


Index: libselinux.spec
===================================================================
RCS file: /cvs/dist/rpms/libselinux/devel/libselinux.spec,v
retrieving revision 1.251
retrieving revision 1.252
diff -u -r1.251 -r1.252
--- libselinux.spec	27 Feb 2007 16:27:02 -0000	1.251
+++ libselinux.spec	8 Mar 2007 16:15:36 -0000	1.252
@@ -2,7 +2,7 @@
 Summary: SELinux library and simple utilities
 Name: libselinux
 Version: 2.0.5
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: Public domain (uncopyrighted)
 Group: System Environment/Libraries
 Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
@@ -121,6 +121,9 @@
 %{_libdir}/python*/site-packages/selinux.py*
 
 %changelog
+* Tue Mar 8 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.5-2
+- Do not fail on permission denied in getsebool
+
 * Tue Feb 27 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.5-1
 - Upgrade to upstream
 	* Merged init_selinuxmnt() and is_selinux_enabled() improvements from Steve Grubb.




More information about the fedora-cvs-commits mailing list