summaryrefslogtreecommitdiff
path: root/udev/lib/libudev-device.c
AgeCommit message (Collapse)Author
2009-06-08libudev: move to top-level directoryKay Sievers
2009-05-21fix location of database filesKay Sievers
2009-05-20use more efficient string copyingKay Sievers
2009-05-04remove all PHYSDEVPATH handling and warning aboutKay Sievers
2009-05-04handle devtmpfs nodesKay Sievers
UDev follows the kernel given name, and re-uses the kernel created device node. If the kernel and spcecified udev rules disagree, the udev specified node node is created and the kernel-created on is deleted.
2009-04-22libudev: monitor - add client socket filter for subsystem valueKay Sievers
Messages send back by the udev daemon to the netlink socket are multiplexed by the kernel and delivered to multiple clients. The clients can upload a socket filter to let the kernel drop messages not belonging to a certain subsystem. This prevent needless wakeups and message processing for users who are only interested in a subset of available events. Recent kernels allow untrusted users to listen to the netlink messages. The messages send by the udev daemon are versioned, to prevent any custom software reading them without libudev. The message wire format may change with any udev version update.
2009-03-26libudev: GPL -> LGPLKay Sievers
2009-03-18udevadm: test - handling trailing '/' in devpathKay Sievers
On Wed, Mar 18, 2009 at 16:00, Matthias Schwarzott <zzam@gentoo.org> wrote: found out how the error occurs: It is a difference between A. udevadm test /sys/class/mem/null/ and B. udevadm test /sys/class/mem/null Case A was the case that showed the error behaviour. It seems udevadm is confused by the trailing slash. This behaviour seems to be there since ages.
2009-02-23Allow watch handle to be stored in the udevdb.Scott James Remnant
2009-01-14libudev: use 4096 bytes buffer for attribute readingKay Sievers
2009-01-06libudev: device - add udev_device_get_property_value()Kay Sievers
2009-01-03libudev: device - remove udev_device_get_parent_with_subsystemMarcel Holtmann
2009-01-03libudev: device - lookup subsystem and devtype togetherMarcel Holtmann
2009-01-03libudev: device - read "uevent" only if info is not already loadedKay Sievers
2009-01-02libudev: device - add devtype supportMarcel Holtmann
2008-11-17limit $attr(<symlink>) magic to well-known links onlyKay Sievers
2008-11-14libudev: device - handle disk "device" link for partitions in deprecated ↵Kay Sievers
sysfs layout Thanks to Mikhail Kolesnik <mike@openbunker.org> for finding this.
2008-11-05do not import the "uevent" file when we only read the db to get old symlinksKay Sievers
2008-11-05fix cleanup of possible left-over symlinksKay Sievers
2008-11-04fix list handling in enumerate and rules file sortingKay Sievers
2008-11-01move some info() to dbg()Kay Sievers
2008-10-26kerneldoc comment fixesAlan Jenkins
s/ressources/resources/ Also reduce commas per sentence and add a possessive apostrophe.
2008-10-26libudev: device - allocate envp array only onceKay Sievers
2008-10-26test: add RUN+="socket: ..." to a test to run monitor codeKay Sievers
2008-10-26libudev: device - fill envp array while composing monitor bufferKay Sievers
Thanks to Alan Jenkins, for the idea.
2008-10-24remove debug printfKay Sievers
2008-10-24libudev: monitor - cache result of monitor send bufferKay Sievers
2008-10-23shrink struct udev_eventKay Sievers
2008-10-21replace strncpy() with strlcpy()Alan Jenkins
The problem was strncpy() doesn't stop after writing the terminating NUL; by definition it goes on to zero the entire buffer. I spy another use of strncpy in udev_device_add_property_from_string(), which is responsible for another ~1% user cpu time... Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
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-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-20libudev: device - get_attr_value() -> get_sysattr_value()Kay Sievers
2008-10-18udev_list_cleanup() -> udev_list_cleanup_entries()Kay Sievers
2008-10-17libudev: fix sysnum logic for digit-only device namesAlan Jenkins
2008-10-16udevd: use libudevKay Sievers
2008-10-16libudev: device - copy global properties, unset empty propertiesKay 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: device - add get_envp() to construct envp from property listKay Sievers
2008-10-14libudev: handle ! in sysname, add sysnum, return allocated list_entry on addKay Sievers
2008-10-11libudev: device - generate DEVNAME and DEVLINKS propertiesKay Sievers
2008-10-09libudev: add udev_monitor_send_device()Kay Sievers
2008-10-09libudev: also prefix non-exported functions with udev_*Kay Sievers
2008-10-07libudev: device - add device lookup by subsystem:sysnameKay Sievers
2008-10-06libudev: fix typo in "multiple entries in symlink" handlingKay Sievers
2008-10-06store node name and symlinks into db symlink target if they are small enoughKay Sievers
2008-10-02libudev: device - add get_parent_with_subsystem()Kay Sievers
2008-10-01libudev: device - handle /sys/block/<disk-device-link>/<partition>Kay Sievers