summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-04-26[PATCH] conditional remove of trailing sysfs whitespacekay.sievers@vrfy.org
Hey, it may never happen, that one wants to distinguish attributes by trailing spaces, but we should not lose the control over it, just for being lazy :) Here we remove the trailing spaces of the sysfs attribute only if the configured value to match doesn't have any trailing spaces by itself. So if you put a attribute in a rule with spaces at the end, the sysfs attribute _must_ match exactly. Is that cool for everyone? As usual, 2 tests are added for it with a artificial sysfs file and a few words to the man page.
2005-04-26[PATCH] clarify udevinfo textkay.sievers@vrfy.org
Make udevinfo attribute printing note so clear, that's nearly impossible to misunderstand it in the future.
2005-04-26[PATCH] better fix for NAME="foo-%c{N}" gets a truncated namekay.sievers@vrfy.org
On Wed, Mar 03, 2004 at 04:56:34PM -0800, Greg KH wrote: > On Wed, Mar 03, 2004 at 03:57:04PM -0800, Patrick Mansfield wrote: > > > > Here is a patch for some new tests. > > Applied, thanks. Here is a small improvement, which looks much better. Hey Pat, thanks a lot for finding the recent bug, hope this one will not break it again :)
2005-04-26[PATCH] Small fix to remove extra "will" in man pagehannal@us.ibm.com
remove extraneous word.
2005-04-26[PATCH] overall trivial trivial cleanupkay.sievers@vrfy.org
Here I try to make the style a bit more consistant in the different files, so that new patches just copy the 'right' one :) Some "magic" numbers are replaced and udevtest.c is catched up with udev.
2005-04-26[PATCH] add tests for NAME="foo-%c{N}"patmans@us.ibm.com
Here is a patch for some new tests.
2005-04-26[PATCH] fix NAME="foo-%c{N}" gets a truncated namekay.sievers@vrfy.org
On Wed, Mar 03, 2004 at 02:43:34PM -0800, Patrick Mansfield wrote: > Here is a fix and a new test for the problem Atul hit, where if we have a > NAME based on a result of the form: > > NAME="foo-%c{7}" > > udev truncates the name. Without any prefix (the foo- in this example), > the rule was working OK. Here is a fix for the fix :) Sorry, I broke it yesterday.
2005-04-26[PATCH] 021_bk markgreg@kroah.com
2005-04-26[PATCH] fix the build for older versions of gccgreg@kroah.com
2005-04-26[PATCH] cleanup mult field string handlingkay.sievers@vrfy.org
Here I try to cleanup our various multifield iteration over the strings. Inspired by our nice list.h we now have a macro to iterate over the string and process the parts of it: It makes the code more readable and we don't change the string while we process it like the former strsep() does. Example: foreach_strpart(dev->symlink, " ", pos, len) { if (strncmp(&dev->symlink[pos], find_name, len) != 0) continue; ... } For the callout part selector %c{2} we separate now not only by space but also newline and return characters, cause some programs may give multiline values back. A possible RESULT match must contain wildcards for these characters. Also a bug in the recent udevinfo symlink query feature is fixed.
2005-04-26[PATCH] 021 releaseudev/v021greg@kroah.com
2005-04-26[PATCH] fix udev.spec to find udevinfo now that it has moved to /usr/bingreg@kroah.com
2005-04-26[PATCH] install udevinfo in /usr/binkay.sievers@vrfy.org
Here we rename the former tiny $(HELPER) to $(INFO) cause it's no longer only a helper :) And install it in /usr/bin instead of /sbin cause any user may want to call it and we don't need it on startup.
2005-04-26[PATCH] blacklist pcmcia_socketkay.sievers@vrfy.org
Is this something for the blacklist? /sys/class/pcmcia_socket/ |-- pcmcia_socket0 | |-- device -> ../../../devices/pci0000:00/0000:00:1e.0/0000:02:00.0 | `-- driver -> ../../../bus/pci/drivers/yenta_cardbus `-- pcmcia_socket1 |-- device -> ../../../devices/pci0000:00/0000:00:1e.0/0000:02:00.1 `-- driver -> ../../../bus/pci/drivers/yenta_cardbus
2005-04-26[PATCH] Fix another problem with Makefile installing initscriptgreg@kroah.com
2005-04-26[PATCH] fix the Makefile to install the init script into the proper directorygreg@kroah.com
grrr...robert...
2005-04-26[PATCH] make spec file turn off selinux support by default.greg@kroah.com
2005-04-26[PATCH] 020 releaseudev/v020greg@kroah.com
2005-04-26[PATCH] update the TODO list as we already have a devfs config file.greg@kroah.com
2005-04-26[PATCH] make start_udev use udevstart binarygreg@kroah.com
2005-04-26[PATCH] man page udevstartkay.sievers@vrfy.org
2005-04-26[PATCH] install udevstartgreg@kroah.com
2005-04-26[PATCH] cleanup udevstartkay.sievers@vrfy.org
I just wanted to terminate the snprintf() strings, cause I can see a overflow with closed eyes after all the audit :) But then I changed a bit more to bring it in line with the style of the other files. I replaced the exec_udev() function with the one from udevd, cause we don't need to read the stdout from udev. Please have a look if it still works for you too and not only for usernames with 3 characters :)
2005-04-26[PATCH] automatically install correct initscriptrml@ximian.com
On Mon, 2004-03-01 at 20:08, Robert Love wrote: > Ack, I did not even see that! Thanks. > > Let's rip that out, and always use the new built-in logic to determine > what initscript to install. Hm, looks like we do not need the %{lsb} and USE_LSB logic at all, anymore. Here is the patch, updated, removing both completely.
2005-04-26[PATCH] bugfix for local userkay.sievers@vrfy.org
While moving the local user logic in it's own function I missed to change the "secure" string macro. We copy only the first 3 bytes of the username. Guess why I didn't notice it :)
2005-04-26[PATCH] Remove Debian permission files as the Debian maintainer doesn't seem ↵greg@kroah.com
to want to share :(
2005-04-26[PATCH] update the Gentoo rules files.greg@kroah.com
2005-04-26[PATCH] Add Red Hat rules and permissions filesgreg@kroah.com
Taken from udev-018-2.src.rpm from Fedora Devel.
2005-04-26[PATCH] add udevstart program based on a old patch from Harald Hoyer ↵greg@kroah.com
<harald@redhat.com> This can be used instead of the start_udev script for systems that do not have a shell, or some other problem...
2005-04-26[PATCH] - unlink bugfixkay.sievers@vrfy.org
Fix for recent unlink patch.
2005-04-26[PATCH] TODO updatekay.sievers@vrfy.org
I promise, that I will not take every item you put in the TODO list :)
2005-04-26[PATCH] clarify udevinfo device walkkay.sievers@vrfy.org
It seems that the long attribute list can confuse the user. Se here we print a few words on top the attributes.
2005-04-26[PATCH] udevinfo symlink reverse querykay.sievers@vrfy.org
Thanks to Olaf Hering <olh@suse.de> for this patch. It's possible now to feed the -n option of udevinfo with a symlink. I've also added a 'all' attribute, but no more text, it's all in the included man page :)
2005-04-26[PATCH] unlink the file before we try to create it.greg@kroah.com
Based on the patch in the Gentoo repo.
2005-04-26[PATCH] fix stroul endptr usekay.sievers@vrfy.org
The endptr is never NULL, so here we hopefully do the right thing.
2005-04-26[PATCH] update documetation for $localrml@ximian.com
On Mon, 2004-03-01 at 17:44, Greg KH wrote: > Hm, that should be Robert's job actually, he should do something for > real... :) Hey, I wrote the nifty local user detection snippet - but, I owe Kay, so here is an updated man page.
2005-04-26[PATCH] multipath updatechristophe.varoqui@free.fr
2005-04-26[PATCH] add $local user spport for permissionskay.sievers@vrfy.org
2005-04-26[PATCH] udev - man page updatekay.sievers@vrfy.org
Here is a small change to the udev man page: - clarify the use of the NAME{all_partitions} syntax and add a example to udev.rules.example - mention the empty NAME field to ignore the device - prepare a SYMLINK field for the addition of Andrey's "multiple symlinks" documentation :)
2005-04-26[PATCH] no error on enoentmd@Linux.IT
no_error_on_enoent: do not exit with an error and delete all files when a device or directory does not exist.
2005-04-26[PATCH] escape dashes in man pagesmd@Linux.IT
man-dashes.diff: escape dashes in man pages, helps with UTF-8 locales (by Philipp Matthias Hahn).
2005-04-26[PATCH] remove usage of expr in ide-devfs.shmd@Linux.IT
fix_expr: remove usage of expr in ide-devfs.sh, because it may be in /usr/bin and not available at early boot time.
2005-04-26[PATCH] udev - fix debug info for multiple rule file configkay.sievers@vrfy.org
On Sat, Feb 28, 2004 at 09:56:32PM +0100, Kay Sievers wrote: > Andrey pointed out that we don't print the right filename in the debug > output. Here is a fix for that. It applies on top of Andrey's symlink > patch, cause we are touching the same part of the code. The copy/paste devil catched me :) Here is a fixed one.
2005-04-26[PATCH] udev - activate formt length attributekay.sievers@vrfy.org
We carried the the old callout part selector syntax for two releases now after it was replaced by the new %c{1} syntax. So here we remove the old syntax and use the code to possibly specify the maximum count of chars to insert into the string. It will work with all of our format chars. I don't know if somebody will use it, but the code is already there :) 's%3s{vendor}' returns "IBM" now, instead of "IBM-ESXS". Also added is a test for it and a few words in the man page.
2005-04-26[PATCH] 019_bk markgreg@kroah.com
2005-04-26[PATCH] Add symlink only rules supportarvidjaar@mail.ru
2005-04-26[PATCH] udev - kill udevd on installkay.sievers@vrfy.org
We want to kill udevd after installing a new version, cause the event contains a magic with the version number of udev.
2005-04-26[PATCH] udev - safer sprintf() usekay.sievers@vrfy.org
Here is for now my last patch to the string handling for a rather theorethical case, where the node is very very very long. :) We have accordant to strfieldcat(to, from) now a strintcat(to, i) macro, which appends the ascii representation of a integer to a string in a safe way.
2005-04-26[PATCH] 018 releaseudev/v019greg@kroah.com
2005-04-26[PATCH] update udev scsi_id to scsi_id 0.4patmans@us.ibm.com
This patch syncs the scsi_id in the udev tree to version 0.4.