summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2005-04-26[PATCH] gentoo/udev.rules: add default permissions for sound devicessschweizer@gmail.com
2005-04-26[PATCH] namdev: allow symlink-only rules to specify node permissionsmbuesch@freenet.de
First case without the patch: KERNEL="hd*", GROUP="disk", MODE="0660" KERNEL="hdc", SYMLINK="cdrecorder", MODE="0666" brw-rw---- 1 root disk 22, 0 Feb 5 14:08 /dev/hdc Second case without the patch: KERNEL="hd*", GROUP="disk", MODE="0660" KERNEL="hdc", MODE="0666" brw-rw-rw- 1 root disk 22, 0 Feb 5 14:08 /dev/hdc
2005-04-26[PATCH] udevd: fix valgrind warningmbuesch@freenet.de
==4304== Syscall param sigaction(act) contains uninitialised or unaddressable byte(s) ==4304== at 0x804A37B: (within /sbin/udevd) ==4304== Address 0x52BFE7FC is on thread 1's stack
2005-04-26[PATCH] udev_volume_id: rename probe_ibm into probe_dasdkay.sievers@vrfy.org
2005-04-26[PATCH] udev_volume_id: volume_id version 032kay.sievers@vrfy.org
2005-04-26[PATCH] Makefile: add some more warnings and prepare for clean gcc4 compilekay.sievers@vrfy.org
2005-04-26[PATCH] Makefile: cleanup conditional config option sectionskay.sievers@vrfy.org
2005-04-26[PATCH] fix -Wsign-compare warningskay.sievers@vrfy.org
2005-04-26[PATCH] chassis_id: clean compilation and fix bad function parameter passingkay.sievers@vrfy.org
Adding prototypes for functions resulted in an error, cause: table_find_disk(disk_snum, &chassis_num, &slot_num); is called but the function is defined as: int table_find_disk(char *serialnumber , int *host_num, int *chassis_num, int *slot_num) which can obviously not work correctly. Using popen() is not klibc compatible, so skip the compilation if a klibc compile is requested.
2005-04-26[PATCH] simple_build_check: make it possible to pass KERNEL_DIRkay.sievers@vrfy.org
2005-04-26[PATCH] selinux: cleanup udev integrationkay.sievers@vrfy.org
Move code into a .c-file instead of big inline functions in a header file. Pass the device name down instead of relying that the node name is equal to the kernel name.
2005-04-26[PATCH] 051 releaseudev/v051greg@kroah.com
2005-04-26[PATCH] gentoo fb permission fix.greg@kroah.com
2005-04-26[PATCH] The attached patch fixes the code path if namedev_name_device() fails.mbuesch@freenet.de
2005-04-26[PATCH] udev_volume_id: new version of volume_idkay.sievers@vrfy.org
Every filesystem has its own subdirectory. The IBM dasd label reading is included into volume_id.
2005-04-26[PATCH] udev_volume_id: fix -d optioncborntra@de.ibm.com
The -d option in udev_allows to go from a partition to the underlying disk for s390 dasd labels. If the device is already the disk itself, finding the parent will fail, therefore -d on /sys/block/dasda/ for example gives no result at all.
2005-04-26[PATCH] klibc: update to version 0.198kay.sievers@vrfy.org
2005-04-26[PATCH] remove the lfs startup script on request of the author.greg@kroah.com
The distro now has its own version, so this one is not needed.
2005-04-26[PATCH] clean up the aoe char device rules, and delete the block one as it's ↵greg@kroah.com
not needed.
2005-04-26[PATCH] fix gcc 2.96 issue in libsysfsgreg@bucket.kroah.org
2005-04-26[PATCH] rearrange link order in Makefilehare@suse.de
The link-order in the main Makefile is not quite correct (sysfs should be linked after udev.a) which might cause the build to fail.
2005-04-26[PATCH] udev_volume_id: fix FAT label readingkay.sievers@vrfy.org
2005-04-26[PATCH] klibc: update to version 0.196kay.sievers@vrfy.org
2005-04-26[PATCH] I tried to compile udev 050plus with the GCC 4.0 snapshot 200412119 andtklauser@access.unizh.chbk
2005-04-26[PATCH] udevd: throttle the forking of processeskay.sievers@vrfy.org
If the system reaches a defined limit of processes in running state, udevd starts to count its own processes in running state from its session (all forked hotplug child processes, subprocesses and callouts) and throttles further process forking if the limit is reached. This should help setups with hundreds of events emitted hotplug events in parallel with hundreds of processes in "R" state. which makes the machine unresponsible. I placed a 100% cpu time consuming program in /etc/hotplug.d/ which runs for 5 seconds. With this patch I can load "scsi_debug add_host=100" without any major problem. Without the patch the box is completly unresponsible for many minutes.
2005-04-26[PATCH] udevd: add possible initialization of expected_seqnumkay.sievers@vrfy.org
UDEVD_EXPECTED_SEQNUM=$[`cat /sys/kernel/hotplug_seqnum` + 1] ./udevd -d will init udevd, so the next event will not wait for any timeout.
2005-04-26[PATCH] udevd: it's obviously not the brightest idea to exit a device node ↵kay.sievers@vrfy.org
manager if it doesn't find /dev/null
2005-04-26[PATCH] udevd: separate socket handling to prepare for other event sourceskay.sievers@vrfy.org
2005-04-26[PATCH] udevd: support -d switch to become a daemonkay.sievers@vrfy.org
2005-04-26[PATCH] add aoe block and char device rules to the gentoo rule file.greg@kroah.com
2005-04-26[PATCH] udev_volume_id: version 27kay.sievers@vrfy.org
Fix FAT label reading bug for very large volumes. Recognize FAT label at Win98 formatted volumes. Read iso9660 joliet descriptor for unicode labels. Support uuid/label of swap partitions.
2005-04-26[PATCH] This fixes a silly mistake in how udevinfo prints the major and minorroland@digitalvampire.org
2005-04-26[PATCH] udevd: split up message receiving an queueingkay.sievers@vrfy.org
2005-04-26[PATCH] remove useless warning if udev.conf contains keys not read by udev ↵kay.sievers@vrfy.org
itself
2005-04-26[PATCH] improve event sequence serializationkay.sievers@vrfy.org
We delay the execution of events if there is already an event running for the same device, a parent or a child device. "add" events with a reference to a physical device will also wait for the physical device to finish. Here we fix the devpath comparison logic to return "busy" only if a complete device names is matching. /block/sdaa will not longer block a /block/sda event.
2005-04-26[PATCH] remove udevsend syslog noise on udevd startupkay.sievers@vrfy.org
2005-04-26[PATCH] limit the initial timeout of the udevd event handlingkay.sievers@vrfy.org
Define an inititialization phase, where we delay the events only for a short time to eventually recollect the event sequence instead of delaying the very first events for 10 seconds, which breaks the firmware loader.
2005-04-26[PATCH] correct detection of hotplug.d/ udevsend loopkay.sievers@vrfy.org
If udevsend is called from the commandline the env may be too big to fit in our buffer and we tag the message.
2005-04-26[PATCH] correct log statementkay.sievers@vrfy.org
2005-04-26[PATCH] remove default_* permissions from udev.conf filekay.sievers@vrfy.org
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.
2005-04-26[PATCH] update Fedora config files and add some more testskay.sievers@vrfy.org
2005-04-26[PATCH] allow permissions only ruleskay.sievers@vrfy.org
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?
2005-04-26[PATCH] add SUBSYSTEM rule to catch all block devices and apply the disk ↵kay.sievers@vrfy.org
permissions
2005-04-26[PATCH] update Fedora config fileskay.sievers@vrfy.org
2005-04-26[PATCH] handle renamed network interfaces properly if we manage hotplug.d/kay.sievers@vrfy.org
If we take over the hotplug call and manage the events we don't need to call the event fake script in dev.d/. Just set all expected values to the new network interface name and call hotplug.d/. This way the device renaming is completely handled inside of udev and userspace can't get confused.
2005-04-26[PATCH] allow multiline rules by backslash at the end of the linekay.sievers@vrfy.org
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.
2005-04-26[PATCH] add OnStream tape drive ruleskay.sievers@vrfy.org
On Sun, 2004-12-19 at 17:36 +0000, Willem Riede wrote: Would you mind adding OnStream tape drives? > > KERNEL="osst*", NAME="%k", GROUP="tape", MODE="0660" > KERNEL="nosst*", NAME="%k", GROUP="tape", MODE="0660"
2005-04-26[PATCH] simplify rules file by setting default mode to 0660kay.sievers@vrfy.org
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.
2005-04-26[PATCH] simplify permission applicationkay.sievers@vrfy.org
We have only one source of permissions now, so apply the default permissions at udev init.
2005-04-26[PATCH] I broke the extras/ again. Add simple build test script now.kay.sievers@vrfy.org