[udev] - add ACLs for PDA devices Resolves: rhbz#642435
Harald Hoyer
harald at fedoraproject.org
Fri Nov 12 14:49:34 UTC 2010
commit 9a010ac3e50b5c293aa0bb23d67a1b440b796867
Author: Harald Hoyer <harald at redhat.com>
Date: Fri Nov 12 15:49:43 2010 +0100
- add ACLs for PDA devices
Resolves: rhbz#642435
udev-pda-acl.patch | 20 ++++++++++++++++++++
udev.spec | 8 +++++++-
2 files changed, 27 insertions(+), 1 deletions(-)
---
diff --git a/udev-pda-acl.patch b/udev-pda-acl.patch
new file mode 100644
index 0000000..b48103a
--- /dev/null
+++ b/udev-pda-acl.patch
@@ -0,0 +1,20 @@
+commit d69207c3f20f0af2a5e510515ae5473f4fe54476
+Author: Harald Hoyer <harald at redhat.com>
+Date: Fri Nov 12 15:44:34 2010 +0100
+
+ 70-acl.rules: add ACLs for ID_PDA devices
+
+diff --git a/extras/udev-acl/70-acl.rules b/extras/udev-acl/70-acl.rules
+index c7134bc..66375de 100644
+--- a/extras/udev-acl/70-acl.rules
++++ b/extras/udev-acl/70-acl.rules
+@@ -47,6 +47,9 @@ SUBSYSTEM=="misc", KERNEL=="kvm", TAG+="udev-acl"
+ # smart-card readers
+ ENV{ID_SMARTCARD_READER}=="*?", TAG+="udev-acl"
+
++# PDA devices
++ENV{ID_PDA}=="*?", TAG+="udev-acl"
++
+ # joysticks
+ SUBSYSTEM=="input", ENV{ID_INPUT_JOYSTICK}=="?*", TAG+="udev-acl"
+
diff --git a/udev.spec b/udev.spec
index 15dda4c..0ae5b6b 100644
--- a/udev.spec
+++ b/udev.spec
@@ -7,7 +7,7 @@
Summary: A rule-based device node and kernel event manager
Name: udev
Version: 164
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPLv2+
Group: System Environment/Base
Provides: udev-persistent = %{version}-%{release}
@@ -18,6 +18,7 @@ Source1: start_udev
Source2: udev-post.init
Patch1: udev-ressize.patch
+Patch2: udev-pda-acl.patch
ExclusiveOS: Linux
URL: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
@@ -116,6 +117,7 @@ glib-based applications using libudev functionality.
%prep
%setup -q
%patch1 -p1
+%patch2 -p1
%build
libtoolize -f -c
@@ -353,6 +355,10 @@ rm -rf $RPM_BUILD_ROOT
%attr(0644,root,root) %{_libdir}/pkgconfig/gudev-1.0*
%changelog
+* Fri Nov 12 2010 Harald Hoyer <harald at redhat.com> 164-4
+- add ACLs for PDA devices
+Resolves: rhbz#642435
+
* Fri Nov 12 2010 Harald Hoyer <harald at redhat.com> 164-3
- enlarged the import buffer to fix the ressize bugs
Resolves: rhbz#652318
More information about the scm-commits
mailing list