summaryrefslogtreecommitdiff
path: root/src/udev
AgeCommit message (Collapse)Author
2012-08-10udev: export udev_device_new_from_device_id()Kay Sievers
2012-08-08udev: fix typo in copyrightKay Sievers
2012-08-08udev: re-initialize builtins in the daemon process, not in the workerKay Sievers
2012-08-08udev: initialize rules dir timestamps when reading rulesKay Sievers
On Wed, Aug 8, 2012 at 11:48 AM, Michael Schroeder <mls@suse.de> wrote: > if rules are installed in the first 3 seconds after the udev start, > the stamps will all be zero, so the [first] call to check_rules_timestamp() > will just copy the current mtime [and not cause a rules re-load].
2012-08-03keyboard-force-release: Fix previous commitMartin Pitt
Was missing a * for the globbing.
2012-08-03keyboard-force-release: Apply to all Fujitso AMILO modelsMartin Pitt
https://launchpad.net/bugs/1011323 reports more AMILO models which need this quirk; enough to assume that all of them need it, and applying it on working models does not really hurt.
2012-08-03udev: path_id - add comment about the unrteliable rebase logicKay Sievers
2012-07-30udev: set log.c's log level from udev's kernel command line optionKay Sievers
2012-07-30udev: add missing newline when writing to /dev/kmsgKay Sievers
2012-07-26udev: cdrom_id, accelerometer - enable debug output for --debugKay Sievers
2012-07-26log.h: new log_oom() -> int -ENOMEM, use itShawn Landden
also a number of minor fixups and bug fixes: spelling, oom errors that didn't print errors, not properly forwarding error codes, few more consistency issues, et cetera
2012-07-25use "Out of memory." consistantly (or with "\n")Shawn Landden
glibc/glib both use "out of memory" consistantly so maybe we should consider that instead of this. Eliminates one string out of a number of binaries. Also fixes extra newline in udev/scsi_id
2012-07-23keymap: Broaden ThinkPad X2.. tablet match to also apply to X230Terence Honles
https://bugs.freedesktop.org/show_bug.cgi?id=52371
2012-07-22collect, keymap, systemctl: use _noreturn_Zbigniew Jędrzejewski-Szmek
2012-07-20udev: path_id - export path for platform block devicesKay Sievers
Enrico Scholz <enrico.scholz@sigma-chemnitz.de> > > E.g. I have a platform with two sdhci controllers with different purposes. > First slot is an external slot while second one is internal with a > non-removable card. > > When there is a card in the external slot at boot, the non-removable card is > named 'mmcblk1'; without the external card it is 'mmcblk0'. Vice versa for the > external card. https://bugs.freedesktop.org/show_bug.cgi?id=52309
2012-07-19udev: firmware - do not cancel requests in the initrdKay Sievers
2012-07-18keymap: Add Dell Latitude force-release quirkRex Tsai
Signed-off-by: Martin Pitt <martinpitt@gnome.org>
2012-07-17Revert "keymap: add --version option"Kay Sievers
This reverts commit d8f173fd2ee9ee60affa1a4d1a89f2501977fb0b.
2012-07-17keymap: add --version optionZbigniew Jędrzejewski-Szmek
2012-07-15udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /runKay Sievers
2012-07-14udev: avoid creating /dev/kmsg with fopen() to support CONFIG_PRINTK=nKay Sievers
2012-07-13log: correct usage of logging API at a few placesLennart Poettering
2012-07-09udev: never touch device nodes with symlink requestsKay Sievers
2012-07-05udev: network device renaming - immediately give up if the target name isn't ↵Kay Sievers
available
2012-07-05udev: add some O_CLOEXECKay Sievers
2012-07-05udev: ata_id - fixup all 8 not only 6 bytes of the fw_rev stringKay Sievers
The last two digits are in the wrong order: $ hdparm -I /dev/sda | grep Revision 4PC10362 $ /lib/udev/ata_id -x /dev/sda | grep REVISION 4PC10326
2012-07-03mount-setup: don't complain if we try to fix the label of a dir beneath a ↵Lennart Poettering
mount but can't due to EROFS
2012-07-02udev: static nodes - fix default permissions if no rules is givenKay Sievers
<falconindy> kay: just curious -- it looks like nodes created by udev from modules.devname all have 000 perms, and there's nothing in udev that attempts to change this. is it intended? <falconindy> c--------- 1 root root 10, 223 Jul 1 23:10 uinput <kay> falconindy: we might miss the default of 0600 <falconindy> seems like it <kay> falconindy: stuff that has a rule works i guess <kay> falconindy: i'll add the 0600 now
2012-07-02udevd: fix bogus mkdir invocationDave Reisner
The filename parameter passed to mkdir can't contain anything but a garbage value at this point. This was meant to be the full pathname to the new udev DB, as the mkdir_parents() call before it won't create the trailing child directory. [replace mkdir_parents() + mkdir() with mkdir_p() -- kay]
2012-07-02udevd: use ROOTPREFIX to create path to modules.devnameDave Reisner
2012-06-27udev: use the matching binary name "systemd-udevd" in log messagesKay Sievers
2012-06-10udev: support "udevadm info /dev/sda; udevadm info /sys/class/block/sda"Kay Sievers
2012-06-05udev: remove remaining selinux labeling for file in /runKay Sievers
2012-06-04udev: kernel cmdline - accept rd.* parametersKay Sievers
2012-06-04udev: reset /proc/self/oom_score_adj in worker processesKay Sievers
Only the main daemon process should be excluded from OOM handling, not the worker processes or their child processes.
2012-06-04udev: limit minimum worker count to 16Kay Sievers
2012-06-04udev: lower the starting children_max -> drop the minimum required RAM from ↵Lauri Kasanen
23mb to 5mb Udev was the limiting factor for us on low-RAM systems. Given an average RSS of 180kb, 128 workers would require ~23mb of RAM. Now, please consider what happens when there is only, say, 15mb free. Udev protects itself from OOM, and the kernel can do nothing but panic. 28 workers * 0.18mb = ~5mb. This change should not affect more powerful systems much, given that they still get the addition from the amount of RAM.
2012-06-04keymaps: keyboard-force-release - fix shebangDave Reisner
This script will still run without the shebang, but we won't get the intended effect of the errexit flag in the interpreter line.
2012-06-02keymaps: replace dir tokens in keyboard-force-releaseDave Reisner
Use the correct udev libexec dir as well, not systemd's.
2012-05-31Revert "label: fix systemd-udev labeling of /run directory."Kay Sievers
This reverts commit 9b5af248f04b6cad8a5bca836e89a39e9f6823d9. Udev now explicitely labels only files/directories in /dev. The selinux array API is not released and will not work on other distros at this moment.
2012-05-31udev: do not selinux label files in /run/udevKay Sievers
2012-05-31mkdir: append _label to all mkdir() calls that explicitly set the selinux ↵Kay Sievers
context
2012-05-31label: fix systemd-udev labeling of /run directory.Daniel J Walsh
systemd-udev is currently incorrectly labeling /run/udev/* content because it is using selinux prefix labeling of /dev. This patch will allow systemd-udev to use prefix labeling of /dev and /run.
2012-05-31udev: skip timestamp check if rules are already free()d during reloadKay Sievers
2012-05-27udev.pc: install udev files to /lib/udev rather than /lib/systemdTom Gundersen
2012-05-27scsi_id: fix truncated model in by-id device linksJean Delvare
Do not forget the leading "S" when appending the serial number, otherwise we chop the last character of the model name. Addresses: https://bugzilla.novell.com/show_bug.cgi?id=763397 Signed-off-by: Jean Delvare <jdelvare@suse.de> Signed-off-by: Petr Uzel <petr.uzel@suse.cz>
2012-05-25udev: silent gcc warningsKay Sievers
2012-05-22keymap: support for Lenovo IdeaPad Z570 keyboardMaxim A. Mikityanskiy
2012-05-14keymap: Add Mio N890Martin Pitt
https://launchpad.net/bugs/998621
2012-05-10udev: path_id - cciss - set "we have a bus" flagKay Sievers