Commit Graph
2869 Commits
Author SHA1 Message Date
Kay Sievers 0c057e9c75 enable skipping of "naming-only" rules 2009-01-05 02:55:37 +01:00
Kay Sievers 31a733070e update NEWS 2009-01-05 02:55:16 +01:00
Kay Sievers 67c89548d1 update NEWS 2009-01-04 17:38:33 +01:00
Kay Sievers 1aa8fdf779 rules: Ubuntu merge - s/uucp/dialout/ 2009-01-04 17:01:47 +01:00
Kay Sievers e1cc6b6a81 rules: replace DVB shell script rule 2009-01-03 22:30:05 +01:00
Kay Sievers 8553cf06b9 rules: Ubuntu merge - use group "tape" 2009-01-03 16:25:15 +01:00
Kay Sievers cc02d72c82 rules: Ubuntu merge - use group "cdrom" 2009-01-03 15:50:17 +01:00
Kay Sievers 19f8fd9088 require 2.6.22+ kernel 2009-01-03 15:35:41 +01:00
Kay Sievers 4fad506ed8 usb_id: use devtype lookup 2009-01-03 15:26:34 +01:00
Kay Sievers ada4df151f libudev: bump revision 2009-01-03 15:26:08 +01:00
Kay Sievers 58d882a6d7 libudev: subsytem -> subsystem 2009-01-03 15:24:59 +01:00
Marcel Holtmann 61ee8cc92d libudev: device - remove udev_device_get_parent_with_subsystem 2009-01-03 15:12:28 +01:00
Marcel Holtmann 883012d49b libudev: device - lookup subsystem and devtype together 2009-01-03 15:12:17 +01:00
Kay Sievers b92511747a libudev: device - read "uevent" only if info is not already loaded 2009-01-03 04:55:15 +01:00
Michal Soltys db71b500b2 man: udev - update NAME assignment 2009-01-02 14:07:54 +01:00
Marcel Holtmann bf8b2ae177 libudev: device - add devtype support 2009-01-02 04:37:04 +01:00
Kay Sievers 01acecef8f rules: input - make sure needed variables are set 2009-01-02 03:26:44 +01:00
Kay Sievers f089350234 libudev: enumerate - add lookup by property 2008-12-29 07:42:19 +01:00
Kay Sievers 109d114578 build: default to --prefix=/usr --exec-prefix="" 2008-12-29 06:20:17 +01:00
Kay Sievers 64be143742 require non-SYSFS_DEPRECATED 2.6.20+ kernel 2008-12-29 06:04:09 +01:00
Kay Sievers e6fa87a11f usb_id: add "image" class 2008-12-29 05:54:44 +01:00
Kay Sievers 12dda308d9 build: use autoreconf --symlink 2008-12-29 05:47:53 +01:00
Kay Sievers 1028fe14b6 if needed, store database entries also for devices which do not have a device node 2008-12-28 01:49:01 +01:00
Kay Sievers 49bb7a8a2a rules: provide /dev/raw/rawctl
On Fri, Dec 26, 2008 at 01:26, Karel Zak <kzak@redhat.com> wrote:
> On Fri, Dec 26, 2008 at 12:39:16AM +0100, Kay Sievers wrote:
>> On Fri, Dec 26, 2008 at 00:26, Karel Zak <kzak@redhat.com> wrote:

>> >  The upstream raw(8) command supports /dev/rawctl and also
>> >  /dev/raw/rawctl.  I think it makes more sense to use raw/rawctl when
>> >  you have all your raw devices in raw/ subdirectory (e.g. /dev/raw/raw<N>).
>>
>> The raw tool looks for /dev/rawctl first and the fallback to
>> /dev/raw/rawctl is named DEVFS_*. Should we turn that order around and
>> remove the devfs notion from the raw tool and let udev create a
>> dev/raw/rawctl node?
>
>  Yeah. Fixed, committed and pushed.
>
>  $ strace -e open ./raw
>  open("/dev/raw/rawctl", O_RDWR)         = -1 ENOENT (No such file or directory)
>  open("/dev/rawctl", O_RDWR)             = -1 ENOENT (No such file or directory)
>
>  I have also removed the #ifdef OLD_RAW_DEVS (/dev/raw<N>) junk.
2008-12-26 01:41:36 +01:00
Kay Sievers 58dc66fdb7 rules: isdn - remove /dev/isdn/capi20 symlink 2008-12-22 17:11:01 +01:00
Kay Sievers 20e9677d22 rules: put alsa in group "audio" 2008-12-22 16:19:38 +01:00
Kay Sievers 6c172fd41d rules: remove /dev/dsp /dev/audio 2008-12-22 16:16:46 +01:00
Kay Sievers a7cb7d79f7 rules: second round merging with Ubuntu rules 2008-12-22 16:15:37 +01:00
Harald Hoyer de2dc210e5 rule_generator: fix enumeration for write_cd_rules
quote +, as it would be taken as a part of the regexp otherwise
https://bugzilla.redhat.com/show_bug.cgi?id=477535
2008-12-22 15:05:11 +01:00
Kay Sievers a8cf7cf2c7 rules: do not put raw1394 in "video" group
A note on /dev/raw1394's security implications:
1. You cannot access local memory through raw1394, except
for ROMs and CSRs that are exposed to other nodes any way.

2. It is extremely hard to manipulate data on attached
SBP-2 devices (FireWire storage devices).

3. You can disturb operation of the FireWire bus, e.g.
creating a DoS situation for audio/video applications, for
SBP-2 devices, or eth1394 network interfaces.

4. If another PC is attached to the FireWire bus, it may be
possible to read or overwrite the entire RAM of that remote PC.
This depends on the PC's configuration. Most FireWire controllers
support this feature (yes, it's not a bug, or at least wasn't
intended to be one...) but not all OSs enable the feature.

Actually, a cheap setup to achieve #1 by #4 is to have two
FireWire controllers in the PC and connect them.

https://bugs.launchpad.net/ubuntu/+source/kino/+bug/6290/comments/21
2008-12-22 14:58:11 +01:00
Kay Sievers 6b956a9983 rules: remove legacy symlinks 2008-12-22 13:34:54 +01:00
Kay Sievers f0bbea6696 rules: rtc - create rtc compat link only for cmos type rtc 2008-12-21 13:48:55 +01:00
Kay Sievers d4e0db3c5d rules: remove /dev/raw/raxctl symlink, it's a devfs leftover 2008-12-21 13:42:08 +01:00
Kay Sievers 41e7f55711 rules: more changes toward Ubuntu rules merge
dv1394*: no kernel name symlink
lp*: no par* symlink
hwrng: no kernel name symlink
2008-12-21 13:17:37 +01:00
Kay Sievers 23456b19eb rules: more changes toward Ubuntu rules merge
specialix_rioctl: no kernel name symlink
specialix_sxctl: no kernel name symlink
bus/usb: 0644 -> 0664
ppdev: lp
dri: 0666 -> 0660
js: no kernel name symlink
2008-12-21 13:01:40 +01:00
Kay Sievers c4e63d5412 "'/sbin/modprobe abnormal' exit" - also print program options 2008-12-20 00:03:53 +01:00
Kay Sievers a31f59b570 rules: first simple step merging with Ubuntu rules 2008-12-19 16:49:56 +01:00
Kay Sievers 93e4f2cfc8 rules: remove ide-scsi 2008-12-19 04:37:09 +01:00
Kay Sievers d4e7bda70c build: just use autoreconf -i
Thanks to Scott for mentioning!
2008-12-19 01:30:41 +01:00
Jeremy Higdon 6a481373b4 path_id: rework SAS persistent names 2008-12-18 13:42:28 +01:00
Kay Sievers b6626d0962 build: add -lsepol
Harald needs it for static binaries.
2008-12-16 16:17:53 +01:00
Kay Sievers 4f06aaa9d8 libudev: include <sys/types.h> 2008-12-16 14:48:33 +01:00
Kay Sievers 14e1827888 volume_id: support sub-uuid's and plug in btrfs device uuid 2008-12-09 18:14:23 +01:00
Kay Sievers 07d9b845c6 rules: add "do not edit header" 2008-12-09 15:35:56 +01:00
Kay Sievers c9809be568 volume_id: btrfs - update format 2008-12-09 15:33:23 +01:00
Kay Sievers 2fc635fb67 rules: move aoe rules to default rules file 2008-12-09 04:18:21 +01:00
Ryan Thomas 4fbf41c018 rules: add rules for AoE devices
In the interest of standardizing udev rules, please consider the
following patch that adds udev rules for the ATA over Ethernet character
and block devices.  The aoe module has been a long-time member of the
kernel and needs inclusion in the standard udev rules.
2008-12-09 01:35:22 +01:00
Kay Sievers b76ad2e537 udevadm: settle - allow --timeout=0 and --quiet 2008-12-08 16:48:54 +01:00
Kay Sievers 5d89ef7bf9 make: do not delete autotools generated file with distclean
[...] running the command
`make maintainer-clean' should not delete `configure' even if
`configure' can be remade using a rule in the Makefile.  More
generally, `make maintainer-clean' should not delete anything that
needs to exist in order to run `configure' and then begin to build
the program.  This is the only exception; `maintainer-clean' should
delete everything else that can be rebuilt.
2008-12-06 04:03:08 +01:00
Kay Sievers 626ed3b6c1 make: install serial rules file 2008-12-04 02:04:50 +01:00