~ubuntu-branches/debian/jessie/systemd/jessie

« back to all changes in this revision

Viewing changes to src/70-uaccess.rules

  • Committer: Package Import Robot
  • Author(s): Tollef Fog Heen, Tollef Fog Heen, Michael Biebl
  • Date: 2012-04-03 19:59:17 UTC
  • mfrom: (1.1.10) (6.1.3 experimental)
  • Revision ID: package-import@ubuntu.com-20120403195917-l532urrbg4pkreas
Tags: 44-1
[ Tollef Fog Heen ]
* New upstream version.
  - Backport 3492207: journal: PAGE_SIZE is not known on ppc and other
    archs
  - Backport 5a2a2a1: journal: react with immediate rotation to a couple
    of more errors
  - Backport 693ce21: util: never follow symlinks in rm_rf_children()
    Fixes CVE-2012-1174, closes: #664364
* Drop output message from init-functions hook, it's pointless.
* Only rmdir /lib/init/rw if it exists.
* Explicitly order debian-fixup before sysinit.target to prevent a
  possible race condition with the creation of sockets.  Thanks to
  Michael Biebl for debugging this.
* Always restart the initctl socket on upgrades, to mask sysvinit
  removing it.

[ Michael Biebl ]
* Remove workaround for non-interactive sessions from pam config again.
* Create compat /dev/initctl symlink in case we are upgrading from a system
  running a newer version of sysvinit (using /run/initctl) and sysvinit is
  replaced with systemd-sysv during the upgrade. Closes: #663219
* Install new man pages.
* Build-Depend on valac (>= 0.12) instead of valac-0.12. Closes: #663323

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#  This file is part of systemd.
2
 
#
3
 
#  systemd is free software; you can redistribute it and/or modify it
4
 
#  under the terms of the GNU General Public License as published by
5
 
#  the Free Software Foundation; either version 2 of the License, or
6
 
#  (at your option) any later version.
7
 
 
8
 
ACTION=="remove", GOTO="uaccess_end"
9
 
ENV{MAJOR}=="", GOTO="uaccess_end"
10
 
 
11
 
# PTP/MTP protocol devices, cameras, portable media players
12
 
SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="", ENV{DEVTYPE}=="usb_device", IMPORT{program}="usb_id --export %p"
13
 
SUBSYSTEM=="usb", ENV{ID_USB_INTERFACES}=="*:060101:*", TAG+="uaccess"
14
 
 
15
 
# Digicams with proprietary protocol
16
 
ENV{ID_GPHOTO2}=="*?", TAG+="uaccess"
17
 
 
18
 
# SCSI and USB scanners
19
 
ENV{libsane_matched}=="yes", TAG+="uaccess"
20
 
 
21
 
# HPLIP devices (necessary for ink level check and HP tool maintenance)
22
 
ENV{ID_HPLIP}=="1", TAG+="uaccess"
23
 
 
24
 
# optical drives
25
 
SUBSYSTEM=="block", ENV{ID_CDROM}=="1", TAG+="uaccess"
26
 
SUBSYSTEM=="scsi_generic", SUBSYSTEMS=="scsi", ATTRS{type}=="4|5", TAG+="uaccess"
27
 
 
28
 
# Sound devices
29
 
SUBSYSTEM=="sound", TAG+="uaccess"
30
 
 
31
 
# ffado is an userspace driver for firewire sound cards
32
 
SUBSYSTEM=="firewire", ENV{ID_FFADO}=="1", TAG+="uaccess"
33
 
 
34
 
# Webcams, frame grabber, TV cards
35
 
SUBSYSTEM=="video4linux", TAG+="uaccess"
36
 
SUBSYSTEM=="dvb", TAG+="uaccess"
37
 
 
38
 
# IIDC devices: industrial cameras and some webcams
39
 
SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x00010*",  TAG+="uaccess"
40
 
SUBSYSTEM=="firewire", ATTR{units}=="*0x00b09d:0x00010*",  TAG+="uaccess"
41
 
# AV/C devices: camcorders, set-top boxes, TV sets, audio devices, and more
42
 
SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x010001*", TAG+="uaccess"
43
 
SUBSYSTEM=="firewire", ATTR{units}=="*0x00a02d:0x014001*", TAG+="uaccess"
44
 
 
45
 
# DRI video devices
46
 
SUBSYSTEM=="drm", KERNEL=="card*", TAG+="uaccess"
47
 
 
48
 
# KVM
49
 
SUBSYSTEM=="misc", KERNEL=="kvm", TAG+="uaccess"
50
 
 
51
 
# smart-card readers
52
 
ENV{ID_SMARTCARD_READER}=="*?", TAG+="uaccess"
53
 
 
54
 
# PDA devices
55
 
ENV{ID_PDA}=="*?", TAG+="uaccess"
56
 
 
57
 
# Programmable remote control
58
 
ENV{ID_REMOTE_CONTROL}=="1", TAG+="uaccess"
59
 
 
60
 
# joysticks
61
 
SUBSYSTEM=="input", ENV{ID_INPUT_JOYSTICK}=="?*", TAG+="uaccess"
62
 
 
63
 
# color measurement devices
64
 
ENV{COLOR_MEASUREMENT_DEVICE}=="*?", TAG+="uaccess"
65
 
 
66
 
# DDC/CI device, usually high-end monitors such as the DreamColor
67
 
ENV{DDC_DEVICE}=="*?", TAG+="uaccess"
68
 
 
69
 
# media player raw devices (for user-mode drivers, Android SDK, etc.)
70
 
SUBSYSTEM=="usb", ENV{ID_MEDIA_PLAYER}=="?*", TAG+="uaccess"
71
 
 
72
 
LABEL="uaccess_end"