rpms/libselinux/devel libselinux-rhat.patch, 1.128, 1.129 libselinux.spec, 1.286, 1.287

Daniel J Walsh (dwalsh) fedora-extras-commits at redhat.com
Mon Sep 24 15:42:13 UTC 2007


Author: dwalsh

Update of /cvs/extras/rpms/libselinux/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv14298

Modified Files:
	libselinux-rhat.patch libselinux.spec 
Log Message:


libselinux-rhat.patch:

Index: libselinux-rhat.patch
===================================================================
RCS file: /cvs/extras/rpms/libselinux/devel/libselinux-rhat.patch,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -r1.128 -r1.129
--- libselinux-rhat.patch	18 Sep 2007 20:44:47 -0000	1.128
+++ libselinux-rhat.patch	24 Sep 2007 15:42:11 -0000	1.129
@@ -1,6 +1,19 @@
-diff --exclude-from=exclude -N -u -r nsalibselinux/src/matchpathcon.c libselinux-2.0.33/src/matchpathcon.c
+diff --exclude-from=exclude -N -u -r nsalibselinux/src/avc_internal.c libselinux-2.0.34/src/avc_internal.c
+--- nsalibselinux/src/avc_internal.c	2007-07-16 14:20:46.000000000 -0400
++++ libselinux-2.0.34/src/avc_internal.c	2007-09-24 11:37:47.000000000 -0400
+@@ -61,7 +61,8 @@
+ 		rc = fd;
+ 		goto out;
+ 	}
+-
++	
++	fcntl(fd, F_SETFD, FD_CLOEXEC);
+ 	if (!blocking && fcntl(fd, F_SETFL, O_NONBLOCK)) {
+ 		close(fd);
+ 		rc = -1;
+diff --exclude-from=exclude -N -u -r nsalibselinux/src/matchpathcon.c libselinux-2.0.34/src/matchpathcon.c
 --- nsalibselinux/src/matchpathcon.c	2007-09-18 16:27:25.000000000 -0400
-+++ libselinux-2.0.33/src/matchpathcon.c	2007-09-18 15:45:42.000000000 -0400
++++ libselinux-2.0.34/src/matchpathcon.c	2007-09-18 16:32:31.000000000 -0400
 @@ -2,6 +2,7 @@
  #include <string.h>
  #include <errno.h>
@@ -18,9 +31,9 @@
  	va_end(ap);
  }
  
-diff --exclude-from=exclude -N -u -r nsalibselinux/utils/matchpathcon.c libselinux-2.0.33/utils/matchpathcon.c
+diff --exclude-from=exclude -N -u -r nsalibselinux/utils/matchpathcon.c libselinux-2.0.34/utils/matchpathcon.c
 --- nsalibselinux/utils/matchpathcon.c	2007-07-16 14:20:45.000000000 -0400
-+++ libselinux-2.0.33/utils/matchpathcon.c	2007-09-18 15:50:31.000000000 -0400
++++ libselinux-2.0.34/utils/matchpathcon.c	2007-09-18 16:32:31.000000000 -0400
 @@ -17,10 +17,24 @@
  	exit(1);
  }


Index: libselinux.spec
===================================================================
RCS file: /cvs/extras/rpms/libselinux/devel/libselinux.spec,v
retrieving revision 1.286
retrieving revision 1.287
diff -u -r1.286 -r1.287
--- libselinux.spec	18 Sep 2007 20:44:47 -0000	1.286
+++ libselinux.spec	24 Sep 2007 15:42:11 -0000	1.287
@@ -2,7 +2,7 @@
 Summary: SELinux library and simple utilities
 Name: libselinux
 Version: 2.0.34
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: Public domain (uncopyrighted)
 Group: System Environment/Libraries
 Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
@@ -124,6 +124,9 @@
 
 %changelog
 
+* Mon Sep 24 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.34-2
+- Remove leaked file descriptor
+
 * Tue Sep 18 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.34-1
 - Upgrade to latest from NSA
 	* Fix selabel option flag setting for 64-bit from Stephen Smalley.




More information about the fedora-extras-commits mailing list