Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-08-08 | switch some strlcpy's to memcpy | Kay Sievers | |
strlcpy counts the sourec string lengt and is therefore not suitable to copy a defined length of characters from one string to another. Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-08-05 | read sysfs attribute also from parent class device | Kay Sievers | |
Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-07-22 | move code to its own files | Kay Sievers | |
Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-07-20 | make SYSFS{} usable for all devices | Kay Sievers | |
Patch from: Hannes Reinecke <hare@suse.de> | |||
2005-07-16 | allow rules to have labels and skip to next label | Kay Sievers | |
This will allow us to have whole blocks of rules to skip conditionally. The following section creates the node "yes": GOTO="TEST" NAME="no" NAME="no2", LABEL="NO" NAME="yes", LABEL="TEST" NAME="no3" | |||
2005-07-16 | thread unknown ENV{key} match as empty value | Kay Sievers | |
This way we can run a rule if a certain key is not set by: ENV{key}="" or ENV{key}!="?*" Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-07-14 | fix typo in GROUP value application | Anton Farygin | |
2005-07-12 | IMPORT: add {parent} to import the persistent data of the parent device | Kay Sievers | |
Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-07-12 | allow multiple values to be matched with KEY=="value1|value2" | Kay Sievers | |
Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-07-12 | remember mapped rules state | Kay Sievers | |
Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-07-07 | fix symlink values separated by multiple spaces | Kay Sievers | |
Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-07-07 | update RELEASE-NOTES | Kay Sievers | |
Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-07-07 | fix default-name handling and NAME="" rules | Kay Sievers | |
Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-07-07 | add WAIT_FOR_SYSFS key to loop until a file in sysfs arrives | Kay Sievers | |
Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-07-05 | pack parsed rules list | Kay Sievers | |
This cuts down our 600 rules file to 98 kb instead of 1.9 Mb memory or file-size with precompiled rules. Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-07-04 | replace useless defines by inline text | Kay Sievers | |
Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-07-04 | move rule matches to function | Kay Sievers | |
Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-07-03 | allow OPTIONS to be recognized for /sys/modules /sys/devices events | Kay Sievers | |
Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-06-27 | add ID_TYPE to the id probers | Kay Sievers | |
Export the type of device from ata_id and scsi_id, also strip leading and trailing whitespace and substitute consecutive whitespace with a single underline char. From: Hannes Reinecke <hare@suse.de> Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-06-26 | store the imported device information in the udevdb | Kay Sievers | |
Any program can query with udevinfo for persistent device attributes evaluated on device discovery now. Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-06-25 | IMPORT allow to import program returned keys into the env | Kay Sievers | |
Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-06-25 | unify execute_command() and execute_program() | Kay Sievers | |
Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-06-25 | IMPORT=<file> allow to import a shell-var style config-file | Kay Sievers | |
This allows to source-in a file into the udev environment to have the defined keys available for later processing by udev itself or the forked helper programs. Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-06-24 | allow rules to be compiled to one binary file | Kay Sievers | |
All the rule files can be compiled into a single file, which can be mapped into the udev process to avoid parsing the rules with every event. Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-06-20 | prepare for module loading rules and add MODALIAS key | Kay Sievers | |
Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-06-05 | udev: handle all events - not only class and block devices | Kay Sievers | |
Handle all events with rules. If udev is expected to handle hotplug.d/ the exernal helper must be called. Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-06-05 | udev: clear lists if a new value is assigned | Kay Sievers | |
Former values are cleared if SYMLINK=<value> is used. To add a value SYMLINK+=<value> is now needed. Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-06-05 | udev: allow final assignments := | Kay Sievers | |
The use of KEY:=<value> will make the key unchangeable by later rules. Signed-off-by: Kay Sievers <kay.sievers@suse.de> | |||
2005-04-26 | [PATCH] add RUN key to be able to run rule based notification | kay.sievers@vrfy.org | |
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. | |||
2005-04-26 | [PATCH] move execute_program to utils + add action to init_device | kay.sievers@vrfy.org | |
2005-04-26 | [PATCH] correct correction for error path for PROGRAM execution | kay.sievers@vrfy.org | |
2005-04-26 | [PATCH] correct error path for PROGRAM execution | kay.sievers@vrfy.org | |
2005-04-26 | [PATCH] check for strlen()==0 before accessing strlen()-1 | kay.sievers@vrfy.org | |
2005-04-26 | [PATCH] allow to match against empty key values | kay.sievers@vrfy.org | |
2005-04-26 | [PATCH] read %s{}-sysfs values at any device in the chain | kay.sievers@vrfy.org | |
2005-04-26 | [PATCH] udev_rules.c: don't change sysfs_device while walking up the device ↵ | kay.sievers@vrfy.org | |
chain | |||
2005-04-26 | [PATCH] remove untrusted chars read from sysfs-values or returned by PROGRAM | kay.sievers@vrfy.org | |
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. | |||
2005-04-26 | [PATCH] support log-priority levels in udev.conf | kay.sievers@vrfy.org | |
2005-04-26 | [PATCH] correct rule match for devices without a physical device | kay.sievers@vrfy.org | |
2005-04-26 | [PATCH] remove unneeded code, libsysfs does this for us | kay.sievers@vrfy.org | |
2005-04-26 | [PATCH] add ENV{} key to match agains environment variables | kay.sievers@vrfy.org | |
2005-04-26 | [PATCH] simplify sysfs_pair handling | kay.sievers@vrfy.org | |
2005-04-26 | [PATCH] support =, ==, !=, += for the key match and assignment | kay.sievers@vrfy.org | |
2005-04-26 | [PATCH] add OPTION="last_rule" to skip any later rule | kay.sievers@vrfy.org | |
2005-04-26 | [PATCH] rename namedev_dev to udev_rule | kay.sievers@vrfy.org | |