|
|
Author: harald
Update of /cvs/dist/rpms/udev/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv7166
Modified Files:
.cvsignore sources udev.spec
Added Files:
udev-075-selinux.patch
Log Message:
- speedup udevd with selinux by calling matchpathcon_init_prefix()
- version 076
udev-075-selinux.patch:
udev_selinux.c | 2 ++
1 files changed, 2 insertions(+)
--- NEW FILE udev-075-selinux.patch ---
--- udev-076/udev_selinux.c.selinux 2005-11-22 17:34:55.000000000 +0100
+++ udev-076/udev_selinux.c 2005-12-06 18:32:03.000000000 +0100
@@ -31,6 +31,7 @@
#include <selinux/selinux.h>
#include "udev_selinux.h"
+#include "udev.h"
#include "logging.h"
static security_context_t prev_scontext = NULL;
@@ -152,6 +153,7 @@
* restoration creation purposes.
*/
if (is_selinux_running()) {
+ matchpathcon_init_prefix(NULL, "/dev");
if (getfscreatecon(&prev_scontext) < 0) {
err("getfscreatecon failed\n");
prev_scontext = NULL;
Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/udev/devel/.cvsignore,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- .cvsignore 11 Nov 2005 13:06:41 -0000 1.28
+++ .cvsignore 6 Dec 2005 17:48:12 -0000 1.29
@@ -1,2 +1 @@
-udev-071.tar.bz2
-udev-075.tar.bz2
+udev-076.tar.bz2
Index: sources
===================================================================
RCS file: /cvs/dist/rpms/udev/devel/sources,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- sources 11 Nov 2005 13:10:50 -0000 1.28
+++ sources 6 Dec 2005 17:48:12 -0000 1.29
@@ -1 +1 @@
-024ce408f74b05ff6b52b4ff250359da udev-075.tar.bz2
+9054b6e8e2b20a8e73e9a7bc7f4d67d0 udev-076.tar.bz2
Index: udev.spec
===================================================================
RCS file: /cvs/dist/rpms/udev/devel/udev.spec,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -r1.127 -r1.128
--- udev.spec 29 Nov 2005 13:25:51 -0000 1.127
+++ udev.spec 6 Dec 2005 17:48:12 -0000 1.128
@@ -33,6 +33,7 @@
Source30: firmware_helper.c
Patch2: udevstart2.patch
+Patch3: udev-075-selinux.patch
ExclusiveOS: Linux
URL: http://kernel.org/pub/linux/utils/kernel/hotplug/
@@ -59,6 +60,7 @@
%prep
%setup -q
%patch2 -p1 -b .udevstart2
+%patch3 -p1 -b .selinux
cp %{SOURCE21} .
@@ -241,8 +243,8 @@
%attr(0755,root,root) /sbin/udevstart2
%attr(0755,root,root) /sbin/start_udev
#%attr(755,root,root) /sbin/udev_volume_id
-%attr(0755,root,root) /sbin/udev_run_devd
-%attr(0755,root,root) /sbin/udev_run_hotplugd
+%attr(0755,root,root) %{udev_scriptdir}/udev_run_devd
+%attr(0755,root,root) %{udev_scriptdir}/udev_run_hotplugd
%attr(755,root,root) /sbin/scsi_id
%attr(755,root,root) /sbin/ata_id
%attr(755,root,root) /sbin/edd_id
@@ -301,6 +303,10 @@
%attr(0644,root,root) %{_mandir}/man8/vol_id*.8*
%changelog
+* Tue Dec 06 2005 Harald Hoyer <harald@xxxxxxxxxx> - 076-1
+- speedup udevd with selinux by calling matchpathcon_init_prefix()
+- version 076
+
* Mon Nov 21 2005 Harald Hoyer <harald@xxxxxxxxxx> - 075-4
- speedup udev event replay with udevstart2
--
fedora-cvs-commits mailing list
fedora-cvs-commits@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-cvs-commits
|
|