summaryrefslogtreecommitdiffstats
path: root/src/libudev/libudev-device-private.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* libudev: simplify udev_device_ensure_usec_initialized a bitZbigniew Jędrzejewski-Szmek2015-12-071-6/+2
|
* tree-wide: group include of libudev.h with sd-*Thomas Hindoe Paaboel Andersen2015-11-171-1/+2
|
* tree-wide: sort includesThomas Hindoe Paaboel Andersen2015-11-161-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 Poettering2015-10-241-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 handlingTom Gundersen2015-04-231-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-deviceTom Gundersen2015-04-021-145/+366
|
* udevd: event - make db loading lazy in REMOVE event handlingTom Gundersen2015-03-121-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 includesThomas Hindoe Paaboel Andersen2015-02-231-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 simplificationsMichal Schmidt2014-11-281-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 stringMichal Schmidt2014-11-281-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_*() callsMichal Schmidt2014-11-281-2/+2
|
* udev: switch to systemd logging functionsKay Sievers2014-11-131-3/+2
|
* libudev: we do not log errors from librariesKay Sievers2014-11-131-2/+2
|
* Remove unnecessary casts in printfsZbigniew Jędrzejewski-Szmek2014-05-151-1/+1
| | | | No functional change expected :)
* Remove duplicate includesKarel Zak2013-11-191-1/+0
|
* udev: move string copy functions to shared/Kay Sievers2013-01-091-4/+4
|
* libudev: update copyright headersKay Sievers2012-11-121-10/+18
|
* udev: use usec_t and now()Kay Sievers2012-11-121-1/+1
|
* libudev: check return value of renameVáclav Pavlín2012-09-231-1/+4
|
* udev: get rid of TEST_PREFIX and use unshare() to fake /sys, /dev, /runKay Sievers2012-07-151-4/+4
|
* udev: remove remaining selinux labeling for file in /runKay Sievers2012-06-051-2/+2
|
* mkdir: append _label to all mkdir() calls that explicitly set the selinux ↵Kay Sievers2012-05-311-2/+2
| | | | context
* libudev: prefix log macros with 'udev_'Kay Sievers2012-04-261-2/+2
|
* udev: replace util_create_path() with mkdir_parents()Kay Sievers2012-04-171-4/+3
|
* udev: use startswith() and streq()Kay Sievers2012-04-161-1/+1
|
* udev: remove configuration options for /dev, /sys, /run directoriesKay Sievers2012-04-161-7/+4
|
* udev: move libudev, gudev to src/; move gudev/docs/, udev/docs/ to to docs/Kay Sievers2012-04-131-0/+185