Update to 0.37.1
Resolves: CVE-2011-1006 CVE-2011-1022
This commit is contained in:
parent
f4d44aa1fd
commit
df868a2d15
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,2 +1,3 @@
|
|||||||
libcgroup-0.36.2.tar.bz2
|
libcgroup-0.36.2.tar.bz2
|
||||||
/libcgroup-0.37.tar.bz2
|
/libcgroup-0.37.tar.bz2
|
||||||
|
/libcgroup-0.37.1.tar.bz2
|
||||||
|
@ -1,27 +0,0 @@
|
|||||||
commit 1d7bbecfea73bd0b21c457c240e9049f8a5c40cc
|
|
||||||
Author: Jan Safranek <jsafrane@redhat.com>
|
|
||||||
Date: Fri Jan 7 13:29:04 2011 +0100
|
|
||||||
|
|
||||||
BUGFIX: add missing braces
|
|
||||||
|
|
||||||
Fix cgclassify to return zero exit code when it succeeds.
|
|
||||||
|
|
||||||
Signed-off-by: Jan Safranek <jsafrane@redhat.com>
|
|
||||||
|
|
||||||
diff --git a/src/tools/cgclassify.c b/src/tools/cgclassify.c
|
|
||||||
index 3181105..fcad4b2 100644
|
|
||||||
--- a/src/tools/cgclassify.c
|
|
||||||
+++ b/src/tools/cgclassify.c
|
|
||||||
@@ -45,10 +45,11 @@ static int change_group_path(pid_t pid, struct cgroup_group_spec *cgroup_list[])
|
|
||||||
|
|
||||||
ret = cgroup_change_cgroup_path(cgroup_list[i]->path, pid,
|
|
||||||
(const char*const*) cgroup_list[i]->controllers);
|
|
||||||
- if (ret)
|
|
||||||
+ if (ret) {
|
|
||||||
fprintf(stderr, "Error changing group of pid %d: %s\n",
|
|
||||||
pid, cgroup_strerror(ret));
|
|
||||||
return -1;
|
|
||||||
+ }
|
|
||||||
}
|
|
||||||
|
|
||||||
return 0;
|
|
@ -4,8 +4,8 @@
|
|||||||
Name: libcgroup
|
Name: libcgroup
|
||||||
Summary: Tools and libraries to control and monitor control groups
|
Summary: Tools and libraries to control and monitor control groups
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Version: 0.37
|
Version: 0.37.1
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
License: LGPLv2+
|
License: LGPLv2+
|
||||||
URL: http://libcg.sourceforge.net/
|
URL: http://libcg.sourceforge.net/
|
||||||
Source0: http://downloads.sourceforge.net/libcg/%{name}-%{version}.tar.bz2
|
Source0: http://downloads.sourceforge.net/libcg/%{name}-%{version}.tar.bz2
|
||||||
@ -13,7 +13,6 @@ Source1: README.Fedora
|
|||||||
Patch1: fedora-config.patch
|
Patch1: fedora-config.patch
|
||||||
Patch2: fedora-fix-initscripts.patch
|
Patch2: fedora-fix-initscripts.patch
|
||||||
Patch3: libcgroup-0.36.2-systemd.patch
|
Patch3: libcgroup-0.36.2-systemd.patch
|
||||||
Patch4: libcgrouop-0.37-cgclassify.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
BuildRequires: pam-devel
|
BuildRequires: pam-devel
|
||||||
BuildRequires: byacc
|
BuildRequires: byacc
|
||||||
@ -51,7 +50,6 @@ provide scripts to manage that configuration.
|
|||||||
%patch1 -p1 -b .config
|
%patch1 -p1 -b .config
|
||||||
%patch2 -p1 -b .lsb
|
%patch2 -p1 -b .lsb
|
||||||
%patch3 -p1 -b .systemd
|
%patch3 -p1 -b .systemd
|
||||||
%patch4 -p1 -b .cgclassify
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --bindir=/bin --sbindir=/sbin --libdir=%{_libdir} --enable-initscript-install --enable-pam-module-dir=/%{_lib}/security
|
%configure --bindir=/bin --sbindir=/sbin --libdir=%{_libdir} --enable-initscript-install --enable-pam-module-dir=/%{_lib}/security
|
||||||
@ -152,6 +150,9 @@ fi
|
|||||||
%doc COPYING INSTALL
|
%doc COPYING INSTALL
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 3 2011 Jan Safranek <jsafrane@redhat.com> 0.37.1-1
|
||||||
|
- Update to 0.37.1
|
||||||
|
|
||||||
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.37-3
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.37-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user