Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | libudev: simplify udev_device_ensure_usec_initialized a bit | Zbigniew Jędrzejewski-Szmek | 2015-12-07 | 1 | -6/+2 |
| | |||||
* | tree-wide: group include of libudev.h with sd-* | Thomas Hindoe Paaboel Andersen | 2015-11-17 | 1 | -1/+2 |
| | |||||
* | tree-wide: sort includes | Thomas Hindoe Paaboel Andersen | 2015-11-16 | 1 | -2/+1 |
| | | | | Sort the includes accoding to the new coding style. | ||||
* | util-lib: split our string related calls from util.[ch] into its own file ↵ | Lennart Poettering | 2015-10-24 | 1 | -2/+2 |
| | | | | | | | | | | | | | | string-util.[ch] There are more than enough calls doing string manipulations to deserve its own files, hence do something about it. This patch also sorts the #include blocks of all files that needed to be updated, according to the sorting suggestions from CODING_STYLE. Since pretty much every file needs our string manipulation functions this effectively means that most files have sorted #include blocks now. Also touches a few unrelated include files. | ||||
* | udevd: fix REMOVE handling | Tom Gundersen | 2015-04-23 | 1 | -0/+6 |
| | | | | | | | | This reverts b67f944. Lazy loading of device properties does not work for devices that are received over netlink, as these are sealed. Reinstate the unconditional loading of the device db. Reported by: Mantas Mikulėnas <grawity@gmail.com>. | ||||
* | libudev: device - replace by a thin wrapper around sd-device | Tom Gundersen | 2015-04-02 | 1 | -145/+366 |
| | |||||
* | udevd: event - make db loading lazy in REMOVE event handling | Tom Gundersen | 2015-03-12 | 1 | -0/+1 |
| | | | | | | | | | We were explicitly eagerly loading the db, then deletenig the backing file and then processing the rules/symlinks. Instead we delete the backnig db file as the last step and let the db loading be lazy as everywhere else. This may save us a bit of work in casese where the db is not needed, but more importantly it hides some implementation details of libudev-device form udevd. | ||||
* | remove unused includes | Thomas Hindoe Paaboel Andersen | 2015-02-23 | 1 | -1/+0 |
| | | | | | | This patch removes includes that are not used. The removals were found with include-what-you-use which checks if any of the symbols from a header is in use. | ||||
* | treewide: another round of simplifications | Michal Schmidt | 2014-11-28 | 1 | -4/+2 |
| | | | | | Using the same scripts as in f647962d64e "treewide: yet more log_*_errno + return simplifications". | ||||
* | treewide: use log_*_errno whenever %m is in the format string | Michal Schmidt | 2014-11-28 | 1 | -1/+1 |
| | | | | | | | | | | | 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. | ||||
* | treewide: drop unnecessary trailing \n in log_*() calls | Michal Schmidt | 2014-11-28 | 1 | -2/+2 |
| | |||||
* | udev: switch to systemd logging functions | Kay Sievers | 2014-11-13 | 1 | -3/+2 |
| | |||||
* | libudev: we do not log errors from libraries | Kay Sievers | 2014-11-13 | 1 | -2/+2 |
| | |||||
* | Remove unnecessary casts in printfs | Zbigniew Jędrzejewski-Szmek | 2014-05-15 | 1 | -1/+1 |
| | | | | No functional change expected :) | ||||
* | Remove duplicate includes | Karel Zak | 2013-11-19 | 1 | -1/+0 |
| | |||||
* | udev: move string copy functions to shared/ | Kay Sievers | 2013-01-09 | 1 | -4/+4 |
| | |||||
* | libudev: update copyright headers | Kay Sievers | 2012-11-12 | 1 | -10/+18 |
| | |||||
* | udev: use usec_t and now() | Kay Sievers | 2012-11-12 | 1 | -1/+1 |
| | |||||
* | libudev: check return value of rename | Václav Pavlín | 2012-09-23 | 1 | -1/+4 |
| | |||||
* | udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /run | Kay Sievers | 2012-07-15 | 1 | -4/+4 |
| | |||||
* | udev: remove remaining selinux labeling for file in /run | Kay Sievers | 2012-06-05 | 1 | -2/+2 |
| | |||||
* | mkdir: append _label to all mkdir() calls that explicitly set the selinux ↵ | Kay Sievers | 2012-05-31 | 1 | -2/+2 |
| | | | | context | ||||
* | libudev: prefix log macros with 'udev_' | Kay Sievers | 2012-04-26 | 1 | -2/+2 |
| | |||||
* | udev: replace util_create_path() with mkdir_parents() | Kay Sievers | 2012-04-17 | 1 | -4/+3 |
| | |||||
* | udev: use startswith() and streq() | Kay Sievers | 2012-04-16 | 1 | -1/+1 |
| | |||||
* | udev: remove configuration options for /dev, /sys, /run directories | Kay Sievers | 2012-04-16 | 1 | -7/+4 |
| | |||||
* | udev: move libudev, gudev to src/; move gudev/docs/, udev/docs/ to to docs/ | Kay Sievers | 2012-04-13 | 1 | -0/+185 |