1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-05 15:21:37 +03:00
Commit Graph

35 Commits

Author SHA1 Message Date
Kay Sievers
135f3e8d0b fix more warnings 2011-04-15 00:19:45 +02:00
Kay Sievers
e48e291202 trivial cleanups 2011-04-13 01:47:56 +02:00
Harald Hoyer
5e199245f2 udev-acl/70-acl.rules: tag ID_REMOTE_CONTROL with acl
Used by "concordance" to access Logitech Harmony programmable remote
controls.

http://www.phildev.net/concordance/
2011-03-17 20:42:12 +01:00
Kay Sievers
71e65e8683 udev-acl: move sg rule to optical drive rule 2011-03-07 16:10:50 +01:00
Andrey Borzenkov
37d3d6abde udev-acl: add /dev/sgX nodes for CD-ROM
Current wine is using /dev/sgX to access CD-ROM devices. Since
distributions switched to using ACL instead of group membership
to control device access, wine is not able to access them.

Add ACL to device nodes that already get GROUP="cdrom".

Ref: https://qa.mandriva.com/show_bug.cgi?id=62114

Signed-off-by: Andrey Borzenkov <arvidjaar@mail.ru>
2011-03-07 16:09:38 +01:00
Kay Sievers
5113029acb rules: drop alsa jack-plug input devices 2010-11-29 12:01:58 +01:00
David Henningsson
53c5ceff08 Add ACLs for FFADO supported sound cards
https://launchpad.net/bugs/681755

Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-11-26 15:31:42 +01:00
Martin Pitt
0e6546c11f Add ACL for media player USB devices
Originally we added an ACL for some particular mobile phone product IDs to
enable users to run e. g. the Android SDK as non-root. This was removed in
232f180 as we don't want to maintain product/vendor ID lists in udev.

However, we already know from media-player-info that devices like this are
media players. There is little reason to deny user access to those, so add back
a generic rule which adds an ACL to media player raw USB devices.

https://launchpad.net/bugs/316215
2010-11-22 10:49:12 +01:00
Harald Hoyer
d69207c3f2 70-acl.rules: add ACLs for ID_PDA devices 2010-11-12 15:44:34 +01:00
Marco d'Itri
3bd7b89dc4 udev-acl: do not mistake all SCSI "processor" devices for scanner
Both rules can be removed since now libsane sets libsane_matched also
for SCSI scanners.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589751
2010-08-18 13:35:25 +02:00
Richard Hughes
2d57b4f8ec udev-acl: add DDC_DEVICE to the types that are managed
DDC_DEVICEs are control points for high-end monitors such as the
HP DreamColor. The DDC/CI interface allows userspace applications
to upload custom colorspaces and interact with the display without
using the monitor hardware controls.
2010-08-10 08:04:37 +02:00
Kay Sievers
232f180397 udev-acl: remove specific device matches from the rules file
We should do only do classes of devices, not individual pieces
of hardware.

There is no way for us to manage this in the long term, and it needs
to be thought through what we want here, but it surely isn't a list of
smartphones in the udev source tarball installed on all systems.
2010-08-05 18:55:57 +02:00
Michal Schmidt
9ac90ae153 udev-acl: really fix ACL assignment in CK events
The previous fix for udev-acl was incomplete. The ACL were not properly
assigned to the new user when switching from root's session because of
the test for 'uid != 0'.

Centralize the special handling of root to a single place (in set_facl).

https://bugzilla.redhat.com/show_bug.cgi?id=608712
2010-08-04 12:01:53 +02:00
Kay Sievers
939cc18afc udev-acl: properly handle CK change events for root user
mschmidt@redhat.com writes:
> since root is treated specially, it does not do anything!
> udev-acl may want to prevent removing ACLs from root, but
> it must not stop the ACLs being granted to the user of the
> new session.

https://bugzilla.redhat.com/show_bug.cgi?id=608712
2010-08-03 15:09:46 +02:00
Kay Sievers
2ffb33bdec udev-acl: update firewire matches to recent rule changes 2010-07-15 11:38:14 +02:00
Kay Sievers
1dbfbfbea6 use the usual TAG+=, TAG= logic 2010-04-22 19:03:11 +02:00
Kay Sievers
f24362441f udev-acl: use a tag instead of a property to mark devices 2010-04-22 18:33:49 +02:00
Kay Sievers
4b06c40935 replace "add|change" with "!remove" 2010-04-12 16:52:41 +02:00
Kay Sievers
9a87132677 udev-acl: no not encourage use of ACL_MANAGE outside of rules file 2010-03-07 13:47:34 +01:00
Martin Pitt
5c3ebbf35a udev-acl: Correctly handle ENV{ACL_MANAGE}==0
When a custom rule sets ACL_MANAGE to 0 to disable ACL management for a
particular device, handle this as "disabled", by explicitly checking against
"1" instead of "nonempty".

Thanks to Rafał Rzepecki for pointing this out.
2010-03-04 00:48:59 +01:00
Martin Pitt
bba10e1c92 add ACL rule for Garmin GPSMap 60
https://qa.mandriva.com/show_bug.cgi?id=55836
2010-01-19 21:31:27 +01:00
Frederic Crozat
456863e351 rules: acl - add COLOR_MEASUREMENT_DEVICE match 2010-01-14 16:12:19 +01:00
Marco d'Itri
fa0612104a rules: udev-acl - add firewire video devices 2010-01-07 16:18:18 +01:00
Scott James Remnant
4fe41ac874 70-acl.rules: ACL manage Android G1 dev phones
There doesn't seem to be any special class for their developer
interface, so match by Vendor and Device id like we do for things
like fingerprint readers.

This is better than their current 0666 suggestion <g>

Signed-off-by: Scott James Remnant <scott@ubuntu.com>
2009-12-10 20:01:05 +00:00
Martin Pitt
897c0f175d 70-acl.rules: Use new-style input properties
ID_CLASS is deprecated for input devices. Use new ID_INPUT_JOYSTICK instead.
2009-11-30 18:46:51 +01:00
William Jon McCann
bded570432 udev-acl: catch up with ConsoleKit 0.4.1 2009-09-27 06:37:26 -07:00
Kay Sievers
11a421dab5 udev-acl: allow to skip ACL handling 2009-08-14 20:13:20 +02:00
Diego Elio 'Flameeyes' Pettenò
b02140b6bc Also merge into the top-level Makefile.am the simpler extras. 2009-08-07 19:15:29 +02:00
Anssi Hannula
2a0c6867cb udev-acl: add joystick devices
User needs read-write access to joystick devices in order to use force
feedback features.
2009-08-05 05:08:45 +02:00
Kay Sievers
2a827c959a make: build internal tools against libudev-private.la 2009-07-25 20:37:45 +02:00
Martin Pitt
84176f979f extras/udev-acl: add smartcard readers
gnupg, psc-lite, etc. will ship udev rules for supported smartcard readers
soon. Add the ACL management bit.

Thanks to Michael Bienia!
2009-07-03 14:57:43 +02:00
Martin Pitt
eb20485b40 udev-acl: Manage hplip device permissions
hplip tools need user access to the devices for checking ink levels and
user-level configuration. This was formerly done with hal FDIs.

As per discussion with Till Kamppeter.
2009-06-19 14:49:35 +02:00
Kay Sievers
6133f3432f cleanup ./configure installation directory options 2009-06-17 02:25:07 +02:00
Kay Sievers
fc04059abf udev-acl: handle missing action when called in CK mode 2009-06-16 18:11:40 +02:00
Kay Sievers
af23b83ea7 udev-acl: move from udev-extras
The build of extras with larger external dependencies is wrapped in:
      --enable-extras
2009-06-16 17:43:12 +02:00