summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [PATCH] 020 release020greg@kroah.com2005-04-263-2/+49
|
* [PATCH] update the TODO list as we already have a devfs config file.greg@kroah.com2005-04-261-3/+1
|
* [PATCH] make start_udev use udevstart binarygreg@kroah.com2005-04-261-1/+6
|
* [PATCH] man page udevstartkay.sievers@vrfy.org2005-04-262-0/+19
|
* [PATCH] install udevstartgreg@kroah.com2005-04-262-0/+5
|
* [PATCH] cleanup udevstartkay.sievers@vrfy.org2005-04-261-122/+70
| | | | | | | | | | | | | | 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 :)
* [PATCH] automatically install correct initscriptrml@ximian.com2005-04-263-18/+10
| | | | | | | | | | | | | | | | 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.
* [PATCH] bugfix for local userkay.sievers@vrfy.org2005-04-261-1/+1
| | | | | | | | 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 :)
* [PATCH] Remove Debian permission files as the Debian maintainer doesn't seem ↵greg@kroah.com2005-04-261-111/+0
| | | | to want to share :(
* [PATCH] update the Gentoo rules files.greg@kroah.com2005-04-261-2/+5
|
* [PATCH] Add Red Hat rules and permissions filesgreg@kroah.com2005-04-262-0/+318
| | | | | | Taken from udev-018-2.src.rpm from Fedora Devel.
* [PATCH] add udevstart program based on a old patch from Harald Hoyer ↵greg@kroah.com2005-04-262-2/+255
| | | | | | | | | <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...
* [PATCH] - unlink bugfixkay.sievers@vrfy.org2005-04-261-1/+1
| | | | | | Fix for recent unlink patch.
* [PATCH] TODO updatekay.sievers@vrfy.org2005-04-261-1/+0
| | | | | | I promise, that I will not take every item you put in the TODO list :)
* [PATCH] clarify udevinfo device walkkay.sievers@vrfy.org2005-04-261-1/+8
| | | | | | | It seems that the long attribute list can confuse the user. Se here we print a few words on top the attributes.
* [PATCH] udevinfo symlink reverse querykay.sievers@vrfy.org2005-04-263-6/+35
| | | | | | | | | | 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 :)
* [PATCH] unlink the file before we try to create it.greg@kroah.com2005-04-261-9/+22
| | | | | | Based on the patch in the Gentoo repo.
* [PATCH] fix stroul endptr usekay.sievers@vrfy.org2005-04-262-2/+2
| | | | | | The endptr is never NULL, so here we hopefully do the right thing.
* [PATCH] update documetation for $localrml@ximian.com2005-04-261-0/+11
| | | | | | | | | | | 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.
* [PATCH] multipath updatechristophe.varoqui@free.fr2005-04-268-36/+132
|
* [PATCH] add $local user spport for permissionskay.sievers@vrfy.org2005-04-263-2/+119
|
* [PATCH] udev - man page updatekay.sievers@vrfy.org2005-04-262-9/+18
| | | | | | | | | | | | 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 :)
* [PATCH] no error on enoentmd@Linux.IT2005-04-261-0/+6
| | | | | | | no_error_on_enoent: do not exit with an error and delete all files when a device or directory does not exist.
* [PATCH] escape dashes in man pagesmd@Linux.IT2005-04-262-14/+14
| | | | | | | man-dashes.diff: escape dashes in man pages, helps with UTF-8 locales (by Philipp Matthias Hahn).
* [PATCH] remove usage of expr in ide-devfs.shmd@Linux.IT2005-04-261-3/+3
| | | | | | | fix_expr: remove usage of expr in ide-devfs.sh, because it may be in /usr/bin and not available at early boot time.
* [PATCH] udev - fix debug info for multiple rule file configkay.sievers@vrfy.org2005-04-263-3/+5
| | | | | | | | | | | | 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.
* [PATCH] udev - activate formt length attributekay.sievers@vrfy.org2005-04-263-5/+22
| | | | | | | | | | | | | | | 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.
* [PATCH] 019_bk markgreg@kroah.com2005-04-262-2/+2
|
* [PATCH] Add symlink only rules supportarvidjaar@mail.ru2005-04-261-8/+20
|
* [PATCH] udev - kill udevd on installkay.sievers@vrfy.org2005-04-261-3/+5
| | | | | | | We want to kill udevd after installing a new version, cause the event contains a magic with the version number of udev.
* [PATCH] udev - safer sprintf() usekay.sievers@vrfy.org2005-04-264-5/+19
| | | | | | | | | | | 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.
* [PATCH] 018 release019greg@kroah.com2005-04-263-2/+37
|
* [PATCH] update udev scsi_id to scsi_id 0.4patmans@us.ibm.com2005-04-269-167/+279
| | | | | | This patch syncs the scsi_id in the udev tree to version 0.4.
* [PATCH] add new TODO item about local user permissions.greg@kroah.com2005-04-261-0/+1
|
* [PATCH] TODO updatekay.sievers@vrfy.org2005-04-261-2/+0
| | | | | | | | | | | | | | | | | | On Thu, Feb 12, 2004 at 05:26:37PM -0800, Greg KH wrote: > On Fri, Feb 13, 2004 at 12:45:38AM +0100, Kay Sievers wrote: > > > > Here a few questions about my favorite file in the tree :) > > - better permission handling > > > > What is missing here? > > I don't know for sure. Just a vague feeling that the way we currently > handle permissions is pretty lousy. Anyone else feel this way too? Seems that nobody cares and perhaps the recent klibc permission changes and the multiple file config directory are enough to kill these lines? :)
* [PATCH] udev - correct relative symlinkkay.sievers@vrfy.org2005-04-261-2/+0
| | | | | | | | | | | | | | Here we remove the useless leading "./" of the linktargets. Thanks to Olaf Hering <olh@suse.de>, who asked why we do this :) We have now: /udev |-- camera0 -> video0 |-- kamera0 -> video0 `-- video0
* [PATCH] Add initial SELinux support for udevgreg@kroah.com2005-04-266-0/+77
| | | | | | Based on a patch from Daniel J Walsh <dwalsh@redhat.com>
* [PATCH] fix build for very old versions of make.greg@kroah.com2005-04-261-0/+3
| | | | | | Should get rid of some more error reports of libsysfs header issues.
* [PATCH] remove limit of the number of args passed to PROGRAMgreg@kroah.com2005-04-263-7/+23
| | | | | | | If we go over our internal limit of 7, then we call out to /bin/sh otherwise we handle it ourself without relying on a shell.
* [PATCH] udev - safer string handling - part fourkay.sievers@vrfy.org2005-04-264-23/+24
| | | | | | | | | | | | | | Mainly a cleanup of the earlier patches with a few missing pieces and some cosmetical changes. I've moved the udev_init_config() to very early init, otherwise we don't get any logging for the processing of the input. What would I do without gdb :) Greg, it's the 7th patch in your box to apply. I will stop now and wait for you :)
* [PATCH] udev - safer string handling - part threekay.sievers@vrfy.org2005-04-267-83/+54
| | | | | | | | | | | | | | Here we truncate our input strings from the environment to our defined limit. It's a bit theroretical but better check for it. It cleans up some magic length definitions and removes the code duplication in udev, udevtest and udevsend. udevd needs to be killed after installation, cause the message size is changed with this patch. Should we do this with the 'make install', like we do with the '.udevdb'?
* [PATCH] udev - safer string handling - part twokay.sievers@vrfy.org2005-04-263-15/+32
| | | | | | | | | | | | | | | | | | | | | | As promised, here is the next round. We provide in addition to the already used macros: strfieldcpy(to, from) strfieldcat(to, from) the corresponding friends, if the size of the target is not known and must be provided by the caller: strnfieldcpy(to, from, maxsize) strnfieldcat(to, from, maxsize) and switch nearly all possibly unsafe users of strcat(), strncat(), strcpy() and strncpy() to these safer macros. The last known remaining issue seems the use of sprintf() and snprintf(). I will take on it later today or tomorrow.
* [PATCH] udev - man page updatekay.sievers@vrfy.org2005-04-262-3/+49
| | | | | | | | | | | | | Hey it's not longer the "goal" to provide a dynamic dev directory, we have just arrived. So I change it to more self-confident words :) I've also added the completly missing environment variables to the man pages. To stop the misuse of the PROGRAM= call paramenters, we better mention its limitations.
* [PATCH] udev - safer string handling all over the placekay.sievers@vrfy.org2005-04-269-42/+48
| | | | | | | | | | | | | | | | | | | On Tue, Feb 24, 2004 at 11:50:52PM +0100, Kay Sievers wrote: > Here is the first step towards a safer string handling. > More will follow, but for now only the easy ones :) > > Thanks to all who pointed this out. strncat() isn't a nice function. We > all should remember that the destination string is not terminated if the > given lenght is shorter than the strlen of the source string. > > And shame on the various implementers of strfieldcat() I found in the > unapplied patches on this list, it's not really better than strncpy() > and hides the real problem. Hmm, bk didn't checked in one file, maybe I edited it again as root. Nevermind, here is the more complete version.
* [PATCH] manpage updatekay.sievers@vrfy.org2005-04-262-18/+21
| | | | | | | Nice, here is the corresponding man update which also removes the mention of the limitation of getgrname() and friends with klibc.
* [PATCH] do not remove real .udev.tdb during RPM buildarvidjaar@mail.ru2005-04-261-1/+1
|
* [PATCH] udev - allow all files in a directory as the configkay.sievers@vrfy.org2005-04-263-12/+107
| | | | | | | | | | | | | | | | | | I was on the train for 5 hours today and the TODO is almost empty :) So, at least four people wanted this feature, then here is a actual working patch. We may specify now in udev.conf: udev_rules="/etc/udev/" and udev will scan the whole directory for files ending with *.rules, sort it in lexical order and create our rule list from all of the files. A plain given file will still work and the same applies to the *.permissions. I sort the files in our usual linked list, cause klibc has no scandir().
* [PATCH] udev - simple klibc textual uid/gid handlingkay.sievers@vrfy.org2005-04-262-17/+108
| | | | | | | | | | Here we get a very dumb getpwnam() and getgrnam() for klibc to stop the confusion of not handling textual id's if klibc is used. If used with initrd we just need to copy the /etc/passwd and /etc/group file and all should work well.
* [PATCH] force udev to include the internal version of libsysfs and never the ↵greg@kroah.com2005-04-267-7/+8
| | | | | | | | external one. Should fix some more build bugs...
* [PATCH] fix up libsysfs header file usage to fix bug reports from users that ↵greg@kroah.com2005-04-262-1/+3
| | | | have sysfsutils installed already.