- Start SELinux thread after setuid call (#221168)
This commit is contained in:
parent
d22d766cfb
commit
846498cdb3
26
dbus-1.0.2-selinux.patch
Normal file
26
dbus-1.0.2-selinux.patch
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
--- dbus-1.0.2/bus/bus.c.audit_session 2006-12-11 14:21:23.000000000 -0500
|
||||||
|
+++ dbus-1.0.2/bus/bus.c 2007-03-30 11:53:46.000000000 -0400
|
||||||
|
@@ -746,11 +746,6 @@
|
||||||
|
_dbus_string_free (&pid);
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (!bus_selinux_full_init ())
|
||||||
|
- {
|
||||||
|
- _dbus_warn ("SELinux initialization failed\n");
|
||||||
|
- }
|
||||||
|
-
|
||||||
|
if (!process_config_postinit (context, parser, error))
|
||||||
|
{
|
||||||
|
_DBUS_ASSERT_ERROR_IS_SET (error);
|
||||||
|
@@ -775,6 +770,11 @@
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
+ if (!bus_selinux_full_init ())
|
||||||
|
+ {
|
||||||
|
+ _dbus_warn ("SELinux initialization failed\n");
|
||||||
|
+ }
|
||||||
|
+
|
||||||
|
dbus_server_free_data_slot (&server_data_slot);
|
||||||
|
|
||||||
|
return context;
|
@ -8,7 +8,7 @@
|
|||||||
Summary: D-BUS message bus
|
Summary: D-BUS message bus
|
||||||
Name: dbus
|
Name: dbus
|
||||||
Version: 1.0.2
|
Version: 1.0.2
|
||||||
Release: 2%{?dist}
|
Release: 3%{?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
|
||||||
@ -37,6 +37,7 @@ Patch0: dbus-0.61-selinux-avc-audit.patch
|
|||||||
Patch1: dbus-0.60-start-early.patch
|
Patch1: dbus-0.60-start-early.patch
|
||||||
Patch2: dbus-0.92-audit-system.patch
|
Patch2: dbus-0.92-audit-system.patch
|
||||||
Patch4: dbus-1.0.1-generate-xml-docs.patch
|
Patch4: dbus-1.0.1-generate-xml-docs.patch
|
||||||
|
Patch5: dbus-1.0.2-selinux.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
|
|
||||||
@ -72,6 +73,7 @@ in this separate package so server systems need not install X.
|
|||||||
%patch1 -p1 -b .start-early
|
%patch1 -p1 -b .start-early
|
||||||
%patch2 -p1 -b .audit_system
|
%patch2 -p1 -b .audit_system
|
||||||
%patch4 -p1 -b .generate-xml-docs
|
%patch4 -p1 -b .generate-xml-docs
|
||||||
|
%patch5 -p1 -b .selinux-send-to-audit
|
||||||
|
|
||||||
autoreconf -f -i
|
autoreconf -f -i
|
||||||
|
|
||||||
@ -183,6 +185,9 @@ fi
|
|||||||
%{_datadir}/devhelp/books/dbus
|
%{_datadir}/devhelp/books/dbus
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Apr 12 2007 David Zeuthen <davidz@redhat.com> - 1.0.2-3
|
||||||
|
- Start SELinux thread after setuid call (#221168)
|
||||||
|
|
||||||
* Wed Mar 28 2007 Matthias Clasen <mclasen@redhat.com> - 1.0.2-2
|
* Wed Mar 28 2007 Matthias Clasen <mclasen@redhat.com> - 1.0.2-2
|
||||||
- Require pkgconfig in the -devel package
|
- Require pkgconfig in the -devel package
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user