summaryrefslogtreecommitdiff
path: root/udev
AgeCommit message (Collapse)Author
2008-10-21libudev: device - 128 -> ENVP_SIZEKay Sievers
2008-10-21libudev: allocate udev_device->envp[] dynamicallyAlan Jenkins
Measured 2% _user_ cpu time reduction on EeePC coldplug. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2008-10-21libudev: util - optimize path_encode()Alan Jenkins
Since we already know the length, use memcpy() instead. Measured 2% _user_ cpu time reduction on EeePC coldplug. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2008-10-21use more appropriate alternatives to malloc()Alan Jenkins
Use calloc to request cleared memory instead. Kernel and libc conspire to make this more efficient. Also, replace one malloc() + strcpy() with strdup(). Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2008-10-21do not use the new work-in-progress parser rule matcherKay Sievers
2008-10-21add "root" == 0 shortcuts to lookup_user/group()Kay Sievers
2008-10-21replace missing get_attr_value() -> get_sysattr_value()Kay Sievers
2008-10-20libudev: device - get_attr_value() -> get_sysattr_value()Kay Sievers
2008-10-18prefix udev-util.c functions with util_*Kay Sievers
2008-10-18selinux_init(udev) -> udev_selinux_init(udev)Kay Sievers
2008-10-18udev_list_cleanup() -> udev_list_cleanup_entries()Kay Sievers
2008-10-18move udev_rules_apply_format() to udev-event.cKay Sievers
2008-10-18udev_rules_run() -> udev_event_execute_run();Kay Sievers
2008-10-18udev_event_run() -> udev_event_execute_rules()Kay Sievers
2008-10-18udevd: avoid overhead of calling rmdir on non-empty directoriesAlan Jenkins
Unfortunately the linux rmdir implementation unhashes the dentry even when the directory is not removed. This is apparently by design (for filesystems that don't allow deleting open files). Results from time(1) and oprofile follow. Before: 0.35user 0.90system samples % image name symbol name 608 9.6738 vmlinux shrink_dcache_parent 293 4.6619 vmlinux copy_page_c 271 4.3119 vmlinux copy_page_range 257 4.0891 udevd udev_rules_iter_next After: 0.31user 0.67system samples % image name symbol name 361 5.0419 vmlinux copy_page_range 322 4.4972 udevd udev_rules_iter_next 300 4.1899 vmlinux copy_page_c Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2008-10-18move run_program to utilKay Sievers
2008-10-18make struct udev_rules opaqueKay Sievers
2008-10-18merge udev-rules.c and udev-rules-parse.cKay Sievers
2008-10-17delete list.hKay Sievers
2008-10-17udevd: use udev_list_nodeKay Sievers
2008-10-17libudev: make list_node functions availableKay Sievers
2008-10-17libudev: ctrl - change magic to integerKay Sievers
2008-10-17libudev: monitor - add set_receive_buffer_size()Kay Sievers
2008-10-17libudev: add sysnum to test programKay Sievers
2008-10-17libudev: fix sysnum logic for digit-only device namesAlan Jenkins
2008-10-17libudev: list - prepend udev_* to all functionsKay Sievers
2008-10-17delete udev-util-file.cKay Sievers
2008-10-17update rules file parsingKay Sievers
2008-10-16update IMPORT= file/stdout property parsingKay Sievers
2008-10-16run_program: prevent empty last argv entryKay Sievers
2008-10-16fix sorting of rules filesKay Sievers
2008-10-16delete name_list, move common file functionsKay Sievers
2008-10-16udev-rules-parse: name_list -> udev_listKay Sievers
2008-10-16udev-node: name_list -> udev_listKay Sievers
2008-10-16libudev: monitor - export MAJOR/MINOR only if availableKay Sievers
2008-10-16libudev: always add UDEV_LOGKay Sievers
2008-10-16rename udev source filesKay Sievers
2008-10-16move udev_device_db to libudevKay Sievers
2008-10-16udevd: use libudevKay Sievers
2008-10-16libudev: device - copy global properties, unset empty propertiesKay Sievers
2008-10-16libudev: add global property listKay Sievers
2008-10-16libudev: ctrl - fix typo in set_env()Kay Sievers
2008-10-16libudev: list - handle update of key with NULL valueKay Sievers
2008-10-16libudev: device - export properties when values are setKay Sievers
2008-10-15libudev: device - lookup "subsystem" and "driver" only onceKay Sievers
2008-10-15libudev: update DEVLINKS property when properties are readKay Sievers
2008-10-15libudev: monitor - do not mangle DEVLINKS propertyKay Sievers
2008-10-15libudev: do not include ctrl in libudev.soKay Sievers
2008-10-15libudev: device - add get_envp() to construct envp from property listKay Sievers
2008-10-15libudev: monitor - fix send_device() property copyingKay Sievers