Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-03-13 | udev: make set_usec_initialized() internal to libudev | Tom Gundersen | |
Instead introduce ensure_usec_initialized(), which copies the timestamp if possible otherwise sets it to now(CLOCK_MONOTONIC). | |||
2015-03-12 | libudev: introduce clone_with_db() | Tom Gundersen | |
This allows us to move the db reading from udevd to libudev. | |||
2015-03-12 | libudev: introduce udev_device_properties_copy() | Tom Gundersen | |
To copy properties from one device to another. Drop the equivalent functionality from udevd. | |||
2015-03-09 | libudev: udev_device_read_db - drop unused argument | Tom Gundersen | |
2015-03-09 | libudev: udev_device_add_property - implicitly mark properties for saving to db | Tom Gundersen | |
Properties should only be saved to the db when added to the udev_device by udevd, and only if the property does not start with a '.'. Make this implicit rather than expose the marking of properties. | |||
2015-03-09 | udev/libudev: event - move {OLD_,}INTERFACE handling from udevd to libudev | Tom Gundersen | |
This should be internal to the library as it is only about reflecting the sysfs state in the udev_device. | |||
2015-03-09 | libudev: private - make property_from_string_parse* static | Tom Gundersen | |
2015-02-03 | util: rework strappenda(), and rename it strjoina() | Lennart Poettering | |
After all it is now much more like strjoin() than strappend(). At the same time, add support for NULL sentinels, even if they are normally not necessary. | |||
2015-01-26 | libudev: private - drop some functions from the internal API | Tom Gundersen | |
2015-01-26 | libudev: monitor - move nulstr parsing to libudev-device | Tom Gundersen | |
Hide the details a bit. | |||
2015-01-26 | udev: event - introduce and use internal udev_device_shallow_clone() | Tom Gundersen | |
2015-01-26 | udev: event - move renaming of udev_device to libudev | Tom Gundersen | |
This is not exposed in the public API. We want to simplify the internal libudev-device API as much as possible so that it will be simpler to rip the whole thing out in the future. | |||
2015-01-22 | Assorted format fixes | Zbigniew Jędrzejewski-Szmek | |
Types used for pids and uids in various interfaces are unpredictable. Too bad. | |||
2014-12-11 | use correct format types | Thomas Hindoe Paaboel Andersen | |
2014-12-03 | libudev: set errno properly in all error conditions of ↵ | Lennart Poettering | |
udev_device_new_from_syspath() | |||
2014-11-28 | treewide: another round of simplifications | Michal Schmidt | |
Using the same scripts as in f647962d64e "treewide: yet more log_*_errno + return simplifications". | |||
2014-11-28 | treewide: use log_*_errno whenever %m is in the format string | Michal Schmidt | |
If the format string contains %m, clearly errno must have a meaningful value, so we might as well use log_*_errno to have ERRNO= logged. Using: find . -name '*.[ch]' | xargs sed -r -i -e \ 's/log_(debug|info|notice|warning|error|emergency)\((".*%m.*")/log_\1_errno(errno, \2/' Plus some whitespace, linewrap, and indent adjustments. | |||
2014-11-28 | treewide: drop unnecessary trailing \n in log_*() calls | Michal Schmidt | |
2014-11-13 | udev: move global property handling from libudev to udevd | Kay Sievers | |
2014-11-13 | udev: switch to systemd logging functions | Kay Sievers | |
2014-09-18 | udev: fix path for database names on 'change' event | Robert Milasan | |
If a device does not have a major/minor number attached, we use different database names than if it does. On "change" events, we didn't copy the devnum over, therefore, we used different paths than on 'add' or 'remove' events (where devnum was properly copied). Fix this by always copying the devnum into the udev-device. (David: added commit-log from email) | |||
2014-09-11 | udev: allow removing tags via TAG-="foobar" | David Herrmann | |
This extends the udev parser to support OP_REMOVE (-=) and adds support for TAG-= to remove previously set tags. We don't fail if the tag didn't exist. This is pretty handy if we ship default rules for seat-assignments and users want to exclude specific devices from that. They can easily add rules that drop any automatically added "seat" tags again. | |||
2014-08-01 | libudev: set errno when udev_device_new_from_* or udev_device_get_parent_* fail | Tom Gundersen | |
2014-05-15 | Remove unnecessary casts in printfs | Zbigniew Jędrzejewski-Szmek | |
No functional change expected :) | |||
2014-02-13 | everywhere: make use of new0() and macro() macros, and stop using perror() | Lennart Poettering | |
2014-01-31 | use memzero(foo, length); for all memset(foo, 0, length); calls | Greg KH | |
In trying to track down a stupid linker bug, I noticed a bunch of memset() calls that should be using memzero() to make it more "obvious" that the options are correct (i.e. 0 is not the length, but the data to set). So fix up all current calls to memset(foo, 0, length) to memzero(foo, length). | |||
2013-12-18 | libudev: devices received from udev are always initialized | Kay Sievers | |
2013-11-30 | docs: remove unneeded the's in gudev docs | Zbigniew Jędrzejewski-Szmek | |
https://bugs.freedesktop.org/show_bug.cgi?id=72164 | |||
2013-11-20 | libudev: always return NULL in _unref() APIs | Lennart Poettering | |
Returning anything else but NULL would suggest the caller's reference might still be valid, but it isn't, because the caller just invoked _unref() after all. This turns the return value into a typesafe shortcut that allows unreffing and resetting a reference in one line. In contrast to solutions for this which take a pointer to a pointer to accomplish the same this solution is just syntactic sugar the developer can make use of but doesn't have to, and this is particularly useful when immediately unreffing objects returned by function calls. | |||
2013-11-20 | libudev: always return valid negative error codes on API functions | Lennart Poettering | |
2013-11-13 | udev: declare some symbols static | Kay Sievers | |
2013-08-15 | typo fixes in man and comments | Thomas Hindoe Paaboel Andersen | |
2013-07-01 | hwdb: add --device=<device-id> and --filter=<key name glob> | Kay Sievers | |
2013-03-20 | libude: remove special handling of "device" link, it should not be used | Kay Sievers | |
2013-03-13 | libudev: implement udev_device_set_attribute_value() | Hannes Reinecke | |
2013-01-09 | udev: move string copy functions to shared/ | Kay Sievers | |
2012-12-31 | udev: in addition to DEVMODE, honor DEVUID, DEVGID from the uevent | Kay Sievers | |
2012-11-20 | libudev: do not resolve $attr{device} symlinks | Kay Sievers | |
2012-11-12 | libudev: update copyright headers | Kay Sievers | |
2012-11-12 | udev: use usec_t and now() | Kay Sievers | |
2012-10-08 | udev: remove SYMLINK "unique" option | Kay Sievers | |
2012-09-13 | man: fix a bunch of typos in docs | Thomas Hindoe Paaboel Andersen | |
https://bugs.freedesktop.org/show_bug.cgi?id=54501 | |||
2012-08-10 | udev: export udev_device_new_from_device_id() | Kay Sievers | |
2012-07-15 | udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /run | Kay Sievers | |
2012-05-15 | udev: update docs, NEWS | Kay Sievers | |
2012-05-15 | udev: libudev - bump soname, remove deprecated functions, introduce symbol ↵ | Kay Sievers | |
versions | |||
2012-04-26 | libudev: prefix log macros with 'udev_' | Kay Sievers | |
2012-04-20 | docs: hook-up gtk-doc to 'make check' | Kay Sievers | |
2012-04-16 | udev: use startswith() and streq() | Kay Sievers | |
2012-04-16 | udev: remove configuration options for /dev, /sys, /run directories | Kay Sievers | |