summaryrefslogtreecommitdiff
path: root/udev/lib/libudev-util.c
AgeCommit message (Collapse)Author
2009-04-22libudev: monitor - use simpler hashKay Sievers
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-04-15libudev: path_encode - always return 0 if encoded string does not fit into sizeKay Sievers
2009-04-08path_encode: fix max length calculationKay Sievers
Sebastian Krahmer wrote: > it should reserve 4 times not 3 times len :)
2009-04-06avoid leaking netlink socket fd to external programsAlan Jenkins
The netlink socket is now used by udev event processes. We should take care not to pass it to the programs they execute. This is the same way the inotify fd was handled. Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
2009-03-26libudev: GPL -> LGPLKay Sievers
2008-11-20libudev: accept NULL whitelist in util_replace_chars()Kay Sievers
2008-11-05unify string replacementKay Sievers
2008-11-01move some info() to dbg()Kay Sievers
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-15libudev: device - lookup "subsystem" and "driver" only onceKay Sievers
2008-10-01libudev: enumerate - ignore regular files while scanningKay Sievers
2008-09-25libudev: replace awkward callback list interfaces with list iteratorsKay Sievers
2008-09-21libudev: add udev_device_new_from_devnum()Kay Sievers
2008-09-19always include config.h from MakefileKay Sievers
2008-09-17libudev: fix "subsystem" valueKay Sievers
2008-09-15libudev: switch API from devpath to syspathKay Sievers
2008-09-13libudev: udev_device - add attribute cacheKay Sievers
2008-09-10extras: use libudev codeKay Sievers
2008-09-10libudev: do not use any udev source fileKay Sievers
2008-09-10libudev: rename libudev-utils.c libudev-util.cKay Sievers