rpms/policycoreutils/F-11 policycoreutils-rhat.patch, 1.420, 1.421 policycoreutils.spec, 1.619, 1.620
Miroslav Grepl
mgrepl at fedoraproject.org
Wed Sep 23 10:59:41 UTC 2009
Author: mgrepl
Update of /cvs/extras/rpms/policycoreutils/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv19997
Modified Files:
policycoreutils-rhat.patch policycoreutils.spec
Log Message:
- Fix for setfiles leaks descriptors from Steve Grubb
policycoreutils-rhat.patch:
Makefile | 2
audit2allow/audit2allow | 1
debugfiles.list | 64 ++++++++
debuglinks.list | 29 ++++
restorecond/restorecond.conf | 4
scripts/chcat | 16 +-
scripts/fixfiles | 6
semanage/semanage | 63 +++++++-
semanage/semanage.8 | 2
semanage/seobject.py | 310 +++++++++++++++++++++++++++++--------------
setfiles/setfiles.c | 10 -
11 files changed, 383 insertions(+), 124 deletions(-)
Index: policycoreutils-rhat.patch
===================================================================
RCS file: /cvs/extras/rpms/policycoreutils/F-11/policycoreutils-rhat.patch,v
retrieving revision 1.420
retrieving revision 1.421
diff -u -p -r1.420 -r1.421
--- policycoreutils-rhat.patch 14 May 2009 13:04:57 -0000 1.420
+++ policycoreutils-rhat.patch 23 Sep 2009 10:59:40 -0000 1.421
@@ -1256,3 +1256,15 @@ diff -up policycoreutils-2.0.62/semanage
return ddict
def get_all_by_type(self, locallist = 0):
+diff -up policycoreutils-2.0.62/setfiles/setfiles.c~ policycoreutils-2.0.62/setfiles/setfiles.c
+--- policycoreutils-2.0.62/setfiles/setfiles.c~ 2009-09-09 16:50:37.000000000 +0200
++++ policycoreutils-2.0.62/setfiles/setfiles.c 2009-09-09 16:51:23.000000000 +0200
+@@ -683,6 +683,8 @@ static int process_one(char *name)
+ progname, name, strerror(errno));
+ goto err;
+ }
++ close(pipe_fds[0]);
++ pipe_fds[0] = -1;
+ } else {
+ rc = restore(name);
+ if (rc)
Index: policycoreutils.spec
===================================================================
RCS file: /cvs/extras/rpms/policycoreutils/F-11/policycoreutils.spec,v
retrieving revision 1.619
retrieving revision 1.620
diff -u -p -r1.619 -r1.620
--- policycoreutils.spec 26 Jun 2009 18:45:40 -0000 1.619
+++ policycoreutils.spec 23 Sep 2009 10:59:41 -0000 1.620
@@ -6,7 +6,7 @@
Summary: SELinux policy core utilities
Name: policycoreutils
Version: 2.0.62
-Release: 12.12%{?dist}
+Release: 12.13%{?dist}
License: GPLv2+
Group: System Environment/Base
Source: http://www.nsa.gov/selinux/archives/policycoreutils-%{version}.tgz
@@ -225,6 +225,9 @@ else
fi
%changelog
+* Wed Sep 23 2009 Miroslav Grepl <mgrepl at redhat.com> 2.0.62-12.13
+- Fix for setfiles leaks descriptors from Steve Grubb
+
* Fri Jun 26 2009 Dan Walsh <dwalsh at redhat.com> 2.0.62-12.12
- Fix polgen.py
More information about the fedora-extras-commits
mailing list