summaryrefslogtreecommitdiff
path: root/libudev
AgeCommit message (Collapse)Author
2011-05-16libudev: device - use DEVMODE from kernel as the default modeKay Sievers
2011-05-16libudev: queue - always rebuild queue file when nothing is queued anymoreKay Sievers
2011-05-10update INSTALL, NEWS, configure comment, queue docKay Sievers
2011-05-05libudev: ctrl - log accept4() errorsKay Sievers
2011-04-24libudev: queue - _unref() should return the objectKay Sievers
2011-04-24libudev: list - use bit flags for 'sort' and 'unique'Kay Sievers
2011-04-20timeout handling without alarm()Kay Sievers
2011-04-18libudev: run_program() - select() -> epollKay Sievers
2011-04-17use 'else if' in epoll event array loopKay Sievers
2011-04-15libudev: test - use epollKay Sievers
2011-04-15libudev: ctrl, monitor - use SOCK_NONBLOCKKay Sievers
2011-04-14udevd: get netlink socket from systemdKay Sievers
2011-04-14udevd: do not nice processesKay Sievers
2011-04-13udevadm: info --cleanup-dbKay Sievers
Most of the udev database from initramfs should be deleted before starting udev in the real root. udevadm: info --cleanup-db deletes all database entries in /run/udev. Events that processed IMPORT{db}, or mark devices explicitely as persistent, will be excluded.
2011-04-13libudev: ctrl - fix refcounting in connection handlingKay Sievers
2011-04-13trivial cleanupsKay Sievers
2011-04-13udevadm: control - add --exitKay Sievers
2011-04-08selinux: do not label files in runtime dirKay Sievers
Do not label any files in the udev runtime directory, but only nodes, links and directories below /dev. In case the runtime directory falls back to /dev/.udev, label this directory once at udevd startup, but never anything below it.
2011-03-28libudev: make valgrind happyKay Sievers
Warning: noted but unhandled ioctl 0x641e with no size/direction hints Syscall param socketcall.setsockopt(optval) points to uninitialised byte(s) at 0x6A30BAA: setsockopt (syscall-template.S:82) by 0x4E36E1C: udev_monitor_filter_update (libudev-monitor.c:347) by 0x4E36ED8: udev_monitor_enable_receiving (libudev-monitor.c:373) by 0x8A9E68E: I830ScreenInit (intel_driver.c:838) by 0x42EE9E: AddScreen (dispatch.c:3890) by 0x471561: InitOutput (xf86Init.c:738) by 0x422C18: main (main.c:205) Location 0x7ff0000c2 is 2 bytes inside local var "filter" declared at libudev-monitor.c:256, in frame #1 of thread 1 Uninitialised value was created by a stack allocation at 0x4E30860: ??? (in /lib64/libudev.so.0.10.0) Thanks to Zdenek Kabelac.
2011-03-25libudev: docs - add udev_get_run_path()Kay Sievers
2011-03-25libudev: export udev_get_run_path()Kay Sievers
2011-03-23systemd: bind udev control socket in systemd and split udev.serviceKay Sievers
We should bind the udev socket from systemd, so we are sure that the abstract namespace socket is always bound by a root process and there is never a window during an update where an untrusted process can steal our socket. Also split the udev.service file, so that the daemon can be updated/restarted without triggering any coldplug events.
2011-03-23use /run/udev/ if possible and fall back to /dev/.udev/Kay Sievers
2011-03-15move /dev/.udev/ to /dev/.run/udev/ and convert old udev database at udevd ↵Kay Sievers
startup
2011-03-05libudev: resolve ifindex in udev_device_new_from_id_filename()Kay Sievers
2011-03-04libudev: udev_device_get_sysattr_list_entry() updateKay Sievers
2011-03-04test-libudev: add short optionsKay Sievers
2011-03-04libudev: use sysfs attr ilist interface for attribute walkThomas Egerer
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
2011-03-04libudev: allow to get list of all available sysfs attrs for a deviceThomas Egerer
Signed-off-by: Thomas Egerer <thomas.egerer@secunet.com>
2011-02-15update some commentsKay Sievers
2011-02-15udevadm: enumerate - update prev pointer properlyKei Tokunaga
When I tried to boot a system with 256 disks x 4 paths with device-mapper, udevadm trigger (--type=devices) that was called from start_udev ended up dumping a core due to a segmentation fault. In udev_enumerate_get_list_entry(), if it finds the devices that should be delayed, it calls syspath_add(). If realloc() in syspath_add() allocates the required memory at a different memory address, referring prev->len afterward causes the segmentation fault. Signed-off-by: Kei Tokunaga <tokunaga.keiich@jp.fujitsu.com>
2010-12-15libudev: record and export "age" of device recordKay Sievers
2010-12-15libudev: fix renamed device nodes detection logicKay Sievers
2010-12-14libudev: enumerate - allow to filter-out not-already-initialized devicesKay Sievers
2010-12-14check ifindex > 0 instead of subsystem == "net"Kay Sievers
2010-12-14udevd: write full database file for (unsupported) renamed device nodesKay Sievers
2010-12-12udevd: switch to common id_filename functionsKay Sievers
2010-12-11udevd: simplify udev database and fix DEVNAME handlingKay Sievers
2010-12-10udevd: use dev_t or netif ifindex as database keyKay Sievers
We need to preserve the database of network interfaces while we rename them. Use the kernel's numbers wherever possible, instead of the device names. Fix wrong database filenames which contain a '/', translated from '!' in the kernel name. Fix segfault for kobject pathes where the subsystem can not be determined from sysfs.
2010-12-10libudev: do not overwrite path with readlink() callKay Sievers
2010-10-22libudev: return kernel provided devnode when asked before we handled any rulesKay Sievers
2010-10-13udevd: do not wrongly delay events for devices with swapped namesKay Sievers
Renaming network devices might delay events for the other device, which has the same devpath in the meantime as the original event. Causing a delay until the timout of the event is reached. Look at the ifindex/devnum of the devices to check if they are really the same devices.
2010-08-11do not rename the database on device renameKay Sievers
Harald Hoyer discovered some incorrect behavior while debugging problems with network interface renaming: Udev events might be queued for devices which are renamed. A new device registered the same time may claime the old name and create a database entry for it. The current rename logic would move over this databse entry to the wrong device.
2010-08-10fix broken "compile warning fix"Kay Sievers
2010-08-08udev: fix compile warningYin Kangkai
CC udev/udevd.o In file included from udev/udev.h:27, from udev/udevd.c:47: ./libudev/libudev-private.h: In function ‘udev_selinux_setfscreateconat’: ./libudev/libudev-private.h:230: warning: declaration of ‘dirfd’ shadows a global declaration /usr/include/dirent.h:224: warning: shadowed declaration is here Signed-off-by: Yin Kangkai <kangkai.yin@intel.com> Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-08-03call util_delete_path() only when we actually deleted stuffKay Sievers
2010-07-19log an error when a message from the wrong version of udevadm is ignoredMarco d'Itri
2010-06-05libudev: fix fd leak in udev_enumerate_scan_devices() when tags are searchedKay Sievers
Thanks to Lennart for finding this.
2010-05-31libudev: doc - fix typoKay Sievers
2010-05-28udevd: read debug settings from kernel commandlineKay Sievers