summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] fix stupid all_partitions bugtklauser@access.unizh.ch2005-04-261-0/+1
| | | | | | | | | | | | | | | | | | | > On Mon, 2005-04-11 at 14:55 +0200, Norbert Preining wrote: > > On Mon, 11 Apr 2005, Kay Sievers wrote: > > > > brw-rw---- 1 root root 8, 0 2005-04-10 14:58 /dev/sdcard > > > > brw-rw---- 1 root root 8, 1 2005-04-10 14:58 /dev/sdcard1 > > > > brw-rw---- 1 root root 8, 1 2005-04-10 14:58 /dev/sdcard2 > > > > brw-rw---- 1 root root 8, 1 2005-04-10 14:58 /dev/sdcard3 > > > > > > This looks broken. > > > > Good to hear. Yeah, I guess it's broken. In create_node() in udev_add.c there is always added 1 to the minor number, thus the error. The attached patch should fix this.
* [PATCH] add test for make -j4 to build-checkkay.sievers@vrfy.org2005-04-261-2/+2
|
* [PATCH] udev-test.pl: add test for DEVNAME export to RUN environmentkay.sievers@vrfy.org2005-04-261-0/+13
|
* [PATCH] add RUN key to be able to run rule based notificationkay.sievers@vrfy.org2005-04-261-0/+47
| | | | | | | | | | | SUBSYSTEM=="block", RUN="/sbin/program" will execute the program only for block device events. ACTION="remove", SUBSYSTEM=="block", RUN"/sbin/program" will execute the program, if a block device is removed.
* [PATCH] allow to match against empty key valueskay.sievers@vrfy.org2005-04-261-4/+16
|
* [PATCH] read %s{}-sysfs values at any device in the chainkay.sievers@vrfy.org2005-04-261-0/+9
|
* [PATCH] remove untrusted chars read from sysfs-values or returned by PROGRAMkay.sievers@vrfy.org2005-04-261-0/+9
| | | | | | | | | | | | | Better remove characters that are useless in a device node name. It may be a security risk to pass any character read from e.g. a sysfs attribute to a shell script we execute later. Prevent the modification of the libsysfs attribute value cache. Clear PROGRAM result if the execution encountered an error.
* [PATCH] test-suite: remove UDEV_TEST, it's not needed anymorekay.sievers@vrfy.org2005-04-265-193/+195
|
* [PATCH] udev-test.pl: use more common user/group nameskay.sievers@vrfy.org2005-04-261-4/+4
|
* [PATCH] udev-test.pl: add a test where the group cannot be found in /etc/passwdkay.sievers@vrfy.org2005-04-261-0/+10
|
* [PATCH] udev-test.pl: add check for textual uid/gidkay.sievers@vrfy.org2005-04-261-24/+63
|
* [PATCH] add ENV{} key to match agains environment variableskay.sievers@vrfy.org2005-04-261-9/+23
|
* [PATCH] add a test and simplify debug statementkay.sievers@vrfy.org2005-04-261-0/+10
|
* [PATCH] support =, ==, !=, += for the key match and assignmentkay.sievers@vrfy.org2005-04-261-161/+193
|
* [PATCH] add OPTION="last_rule" to skip any later rulekay.sievers@vrfy.org2005-04-261-1/+10
|
* [PATCH] remove PLACE key matchkay.sievers@vrfy.org2005-04-261-3/+3
| | | | | | | | ID should do the same, cause we walk up the chain of devices on the physical device and can match for the name of every device there with the ID key.
* [PATCH] udev-test.pl: remove useless testskay.sievers@vrfy.org2005-04-261-23/+0
|
* [PATCH] namedev: skip backslashes only if followed by newlinekay.sievers@vrfy.org2005-04-261-0/+9
| | | | | | | | | | Fix from: Hannes Reinecke <hare@suse.de> namedev_parse is a bit overzealous when in comes to handling backspaces; it always eats up backspaces regardless of anything beyond that. This means it is impossible to enter '\t' in a rule. Quite a bit of fun when you're trying to write regexps.
* [PATCH] remove the device node only if the major/minor number matcheskay.sievers@vrfy.org2005-04-261-22/+15
|
* [PATCH] introduce OPTIONS=ignore_device, ignore_remove, all_partitions" keykay.sievers@vrfy.org2005-04-261-2/+33
| | | | | | | | | | | | | | | | | | Here we move all possible options into a own key to make it possible to have options-only rules. The options on the NAME key are removed from the man page and will be removed from a future version of udev. For ignore rules, OPTIONS="ignore" should be used. The rule: SUBSYSTEM="block", SYSFS{removable}="1", OPTIONS="all_partitions" will create all partitions for a block device which is known to have removable media (a check for cdrom drives would be needed too).
* [PATCH] allow simple-build-check.sh to go faster if MAKEOPTS is setgregkh@suse.de2005-04-261-6/+6
| | | | | | This lets my multiprocessor boxes do the testing quicker...
* [PATCH] fix test for temporary nodespatmans@us.ibm.com2005-04-261-2/+2
|
* [PATCH] fix special file mode mask for temporary device nodekay.sievers@vrfy.org2005-04-261-1/+1
|
* [PATCH] udevstart: simplify "dev" file searchingkay.sievers@vrfy.org2005-04-262-7/+59
| | | | | | | | | | | | | | | Just stat() the "dev" file in the device directory instead of opening the directory and iterating over all entries. Make udevstart work with the settings in with udev.conf so we can run a test program. Add a test for udevstart. Remove changelog stuff from code. We should never start with this silly thing.
* [PATCH] add %P modifier to query the node name of the parent devicekay.sievers@vrfy.org2005-04-261-1/+31
| | | | | | | | | | Events for partition devies may want to read the main block device name to compose it's own name or read a disklabel from the main device. SUBSYSTEM="block", KERNEL="*[1-9]", NAME="%P-p%n" will append the partition number to the name of the main block device.
* [PATCH] provide temporary device node for callouts to access the devicekay.sievers@vrfy.org2005-04-261-0/+18
| | | | | | | %N will create a temporary node for a callout a be sustituted with the name of the node.
* [PATCH] simple_build_check: make it possible to pass KERNEL_DIRkay.sievers@vrfy.org2005-04-261-12/+15
|
* [PATCH] remove default_* permissions from udev.conf filekay.sievers@vrfy.org2005-04-261-3/+0
| | | | | | | | | | | With the "permissions only rules" we can just place: MODE="0660", OWNER="root", GROUP="root" at the beginning of the rules file and get exactly the same behavior. If no values are given the compiled-in defaults are used.
* [PATCH] update Fedora config files and add some more testskay.sievers@vrfy.org2005-04-261-0/+28
|
* [PATCH] allow permissions only ruleskay.sievers@vrfy.org2005-04-261-0/+12
| | | | | | | | | | | On Mon, 2004-12-20 at 15:03 +0100, Marco d'Itri wrote: > +# all block devices > > +SUBSYSTEM="block", NAME="%k", GROUP="disk" > > + > NAME="%k" here and in similar rules does not add any new information, > what about making it optional, like it is for SYMLINK-only rules?
* [PATCH] add SUBSYSTEM rule to catch all block devices and apply the disk ↵kay.sievers@vrfy.org2005-04-261-1/+1
| | | | permissions
* [PATCH] allow multiline rules by backslash at the end of the linekay.sievers@vrfy.org2005-04-261-0/+30
| | | | | | | | | | | | | | On Sun, 2004-12-19 at 18:31 +0100, Marco d'Itri wrote: > > On Dec 19, Kay Sievers <kay.sievers@vrfy.org> wrote: > > > (Feature request: would it be possible to extend the rules files parser > > to support continuation lines? I'd like it to consider lines starting > > with white space as part of the previous line.) > > How about the usual backslash at the end of the line. Here is a simple > patch.
* [PATCH] simplify rules file by setting default mode to 0660kay.sievers@vrfy.org2005-04-261-5/+5
| | | | | | | | | On Sun, 2004-12-19 at 18:31 +0100, Marco d'Itri wrote: > It may be better to use default_mode="0660", I do not think that there > are any mode 600 devices. This would allow setting only the group for > most of them.
* [PATCH] I broke the extras/ again. Add simple build test script now.kay.sievers@vrfy.org2005-04-261-0/+26
|
* [PATCH] complete removal of explicit udev permissions config filekay.sievers@vrfy.org2005-04-265-191/+17
|
* bleah, more merge fixes...Greg KH2005-04-261-1/+3
|
* [PATCH] udevd-test.pl: remove wrong date calculationkay.sievers@vrfy.org2005-04-263-127/+23
| | | | | | | | | | | | | | | | | | | | | A hour wrap during the test run does not work :) Just remove all the useless date conversions as we are only interested in the seconds it takes to process. [root@pim udevd-test]# ./udevd-test.pl 9 ... device: /class/tty/console, action: remove forking udev time: Sat Dec 11 18:59:57 2004 the delay time is: 3 s device: /class/tty/ptmx, action: remove forking udev time: Sat Dec 11 19:00:07 2004 the delay time is: 4013 s the delay time is: 4013 udevd doesn't act properly.
* [PATCH] delete a bunch of files no longer needed.greg@kroah.com2005-04-266-311/+0
| | | | | | Thanks to Kay for pointing it out.
* [PATCH] fix udev-test/udev-test.pl to work with againkay.sievers@vrfy.org2005-04-261-54/+43
|
* [PATCH] don't call the hotplug scripts with a test runkay.sievers@vrfy.org2005-04-261-0/+1
|
* fixups to get back to proper patch orderGreg KH2005-04-261-3/+1
| | | | Damm, it's hard to merge a multi-line tree into one flat line at times...
* [PATCH] comment out ability to run udev-test.pl with valgrindgreg@kroah.com2005-04-261-1/+3
|
* [PATCH] add NAME{ignore_remove} attributekay.sievers@vrfy.org2005-04-261-2/+23
| | | | | | | | | Some broken ide drivers are generating high event traffic, with add/remove events. With this attribute, it can be specified, that the node is always available. It may be used in conjunction with the new DRIVER= match to catch specific kernel device drivers.
* [PATCH] support DRIVER as a rule keykay.sievers@vrfy.org2005-04-261-0/+10
| | | | | | Match with a rule against a device with a specific kernel driver.
* [PATCH] support SUBSYSTEM as a rule keykay.sievers@vrfy.org2005-04-261-0/+11
| | | | | | | This should make it easier to catch e.g all block or net devices with a single rule.
* [PATCH] replace tdb database by simple lockless file databasekay.sievers@vrfy.org2005-04-268-10/+10
| | | | | | | | | This makes the udev operation completely lockless by storing a file for every node in /dev/.udevdb/* This solved the problem with deadlocking concurrent udev processes waiting for each other to release the file lock under heavy load.
* [PATCH] make udev-test.pl test for root permissions before runninggreg@kroah.com2005-04-261-0/+7
| | | | | | Should prevent false error reports from happening.
* [PATCH] Apply the default permissions even if we found a entry inkay.sievers@vrfy.org2005-04-261-2/+2
|
* [PATCH] add test for format chars in multiple symlinks to replacekay.sievers@vrfy.org2005-04-261-0/+10
|
* [PATCH] add dumb script to show all sysfs devices in the system.greg@kroah.com2005-04-261-0/+27
|