don't abort on selinux messages. (#283231)
This commit is contained in:
parent
4cd56ddddd
commit
57257cfb77
12
dbus-1.1.2-no-abort.patch
Normal file
12
dbus-1.1.2-no-abort.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff -up dbus-1.1.2/bus/bus.c.foo dbus-1.1.2/bus/bus.c
|
||||||
|
--- dbus-1.1.2/bus/bus.c.foo 2007-09-14 15:26:08.000000000 -0400
|
||||||
|
+++ dbus-1.1.2/bus/bus.c 2007-09-14 15:26:08.000000000 -0400
|
||||||
|
@@ -1206,7 +1206,7 @@ bus_context_check_security_policy (BusCo
|
||||||
|
dest ? dest : DBUS_SERVICE_DBUS, error))
|
||||||
|
{
|
||||||
|
|
||||||
|
- if (dbus_error_is_set (error) &&
|
||||||
|
+ if (error != NULL && dbus_error_is_set (error) &&
|
||||||
|
dbus_error_has_name (error, DBUS_ERROR_NO_MEMORY))
|
||||||
|
{
|
||||||
|
return FALSE;
|
@ -8,7 +8,7 @@
|
|||||||
Summary: D-BUS message bus
|
Summary: D-BUS message bus
|
||||||
Name: dbus
|
Name: dbus
|
||||||
Version: 1.1.2
|
Version: 1.1.2
|
||||||
Release: 5%{?dist}
|
Release: 6%{?dist}
|
||||||
URL: http://www.freedesktop.org/software/dbus/
|
URL: http://www.freedesktop.org/software/dbus/
|
||||||
Source0: http://dbus.freedesktop.org/releases/dbus/%{name}-%{version}.tar.gz
|
Source0: http://dbus.freedesktop.org/releases/dbus/%{name}-%{version}.tar.gz
|
||||||
Source1: doxygen_to_devhelp.xsl
|
Source1: doxygen_to_devhelp.xsl
|
||||||
@ -38,6 +38,7 @@ Patch1: dbus-1.0.1-generate-xml-docs.patch
|
|||||||
# https://bugs.freedesktop.org/show_bug.cgi?id=11491
|
# https://bugs.freedesktop.org/show_bug.cgi?id=11491
|
||||||
Patch2: dbus-1.0.2-lsb.patch
|
Patch2: dbus-1.0.2-lsb.patch
|
||||||
Patch3: dbus-1.1.2-audit-user.patch
|
Patch3: dbus-1.1.2-audit-user.patch
|
||||||
|
Patch4: dbus-1.1.2-no-abort.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
@ -81,6 +82,7 @@ in this separate package so server systems need not install X.
|
|||||||
%patch1 -p1 -b .generate-xml-docs
|
%patch1 -p1 -b .generate-xml-docs
|
||||||
%patch2 -p1 -b .lsb
|
%patch2 -p1 -b .lsb
|
||||||
%patch3 -p1 -b .audit-user
|
%patch3 -p1 -b .audit-user
|
||||||
|
%patch4 -p1 -b .abort
|
||||||
|
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
|
|
||||||
@ -200,6 +202,9 @@ fi
|
|||||||
%{_datadir}/devhelp/books/dbus
|
%{_datadir}/devhelp/books/dbus
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 14 2007 Bill Nottingham <notting@redhat.com> - 1.1.2-6%{?dist}
|
||||||
|
- fix daemon abort when SELinux denies passing on a message (#283231)
|
||||||
|
|
||||||
* Fri Sep 14 2007 Dan Walsh <dwalsh@redhat.com> - 1.1.2-5%{?dist}
|
* Fri Sep 14 2007 Dan Walsh <dwalsh@redhat.com> - 1.1.2-5%{?dist}
|
||||||
- Reverse we_were_root check to setpcap if we were root. Also only init
|
- Reverse we_were_root check to setpcap if we were root. Also only init
|
||||||
audit if we were root. So error dbus message will not show up when policy
|
audit if we were root. So error dbus message will not show up when policy
|
||||||
|
Loading…
Reference in New Issue
Block a user