summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-device/sd-device.c
Commit message (Expand)AuthorAgeFilesLines
* sd-device: allow to read sysattr which contains embedded NULYu Watanabe2021-07-121-3/+7
* sd-device: use strjoina() more again in sd_device_new_from_subsystem_sysname()Lennart Poettering2021-07-091-40/+72
* sd-device: reject empty driver nameZbigniew Jędrzejewski-Szmek2021-05-061-1/+1
* sd-device: use memdupa_suffix0() where appropriateZbigniew Jędrzejewski-Szmek2021-05-061-16/+11
* sd-device: minor optimization for sd_device_new_from_device_id()Yu Watanabe2021-05-061-6/+5
* sd-device: do no allocate strings of unknown length on the stackZbigniew Jędrzejewski-Szmek2021-05-061-27/+27
* sd-device: use right clock when comparing initialization usecLennart Poettering2021-05-061-2/+2
* sd-device: improve log message and tweak styleZbigniew Jędrzejewski-Szmek2021-05-061-3/+2
* sd-device: fix error code returned by sd_device_get_sysattr_value() for non-e...Lennart Poettering2021-05-061-2/+3
* tree-wide: use read_full_virtual_file() where appropriateLennart Poettering2021-03-171-1/+1
* tree-wide: use UINT64_MAX or friendsYu Watanabe2021-03-051-3/+4
* sd-device: introduce tiny wrapper sd_device_trigger()Yu Watanabe2021-02-211-0/+12
* sd-device: do not cache action string for uevent file written by sd_device_se...Yu Watanabe2021-02-211-0/+4
* sd-device: make devpath check stricterYu Watanabe2021-02-211-1/+1
* sd-device: make sd_device_get_xxx() accept NULL for storing resultYu Watanabe2021-02-211-26/+27
* sd-device: use appropriate error codeYu Watanabe2021-02-211-4/+4
* sd-device: add a brief comment in device_cache_sysattr_value()Yu Watanabe2021-02-211-0/+1
* sd-device: ignore error in device_cache_sysattr_value() and propagate origina...Yu Watanabe2021-02-211-10/+22
* sd-device: the last argument of sd_device_get_sysattr_value() may be NULLYu Watanabe2021-02-211-4/+5
* sd-device: use delete_trailing_chars()Yu Watanabe2021-02-211-6/+3
* sd-device: do not cache an empty string but clear cache on failreYu Watanabe2021-02-211-15/+3
* sd-device: move comment about NULL valueYu Watanabe2021-02-211-2/+3
* sd-device: rename device_{add,get,remove}_sysattr_value()Yu Watanabe2021-02-211-10/+10
* sd-device: add sd_device_get_action() + sd_device_get_seqnum() + sd_device_ne...Lennart Poettering2021-02-181-1/+41
* Merge pull request #18377 from yuwata/sd-device-cleanupsLennart Poettering2021-01-261-32/+30
|\
| * sd-device: use string_hash_ops_free_freeYu Watanabe2021-01-261-15/+13
| * sd-device: add a short comment why we simply return negative errno here on fa...Yu Watanabe2021-01-261-0/+1
| * sd-device: rename variables and use TAKE_PTR()Yu Watanabe2021-01-261-14/+13
| * sd-device: use string_hash_ops_free_freeYu Watanabe2021-01-261-3/+3
* | sd-device: do not use downgrade-to-bool featureYu Watanabe2021-01-271-4/+3
|/
* sd-device: make TAGS= property prefixed and suffixed with ":"Yu Watanabe2020-12-141-3/+3
* sd-device: use set_strjoin()Yu Watanabe2020-12-081-47/+16
* sd-device: make sd_device_has_current_tag() and friends compatible with datab...Yu Watanabe2020-11-261-0/+21
* sd-device: introduce database version and save it in udev database V fieldYu Watanabe2020-11-261-0/+6
* sd-device: make device_add_property_internal() inlineYu Watanabe2020-11-261-4/+0
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
* sd-device: introduce sd_device_set_sysattr_valuef()Yu Watanabe2020-09-111-0/+23
* tree-wide: define iterator inside of the macroZbigniew Jędrzejewski-Szmek2020-09-081-2/+1
* udev: make tags "sticky"Lennart Poettering2020-09-011-29/+106
* sd-device: use strjoin instead of asprintfZbigniew Jędrzejewski-Szmek2020-07-161-34/+25
* sd-device: use log_device_debug_errno()Yu Watanabe2020-07-081-1/+1
* sd-device: be more defensive in FOREACH_DEVICE_SYSATTRZbigniew Jędrzejewski-Szmek2020-07-051-0/+4
* sd-device: make FOREACH_DEVICE_SYSATTR() list attributes in subdirectoriesYu Watanabe2020-07-031-13/+58
* basic/set: let set_put_strdup() create the set with string hash opsZbigniew Jędrzejewski-Szmek2020-05-061-18/+6
* tree-wide: make parse_ifindex simply return the indexZbigniew Jędrzejewski-Szmek2020-01-111-8/+8
* fileio: introduce read_full_virtual_file() for reading virtual files in sysfs...Franck Bui2019-10-251-1/+1
* Merge pull request #13836 from systemd/assert-cleanups-and-constificationYu Watanabe2019-10-251-4/+4
|\
| * sd-device: allow sd_device_get_devtype to be called with NULL arg and do not ...Zbigniew Jędrzejewski-Szmek2019-10-241-4/+4
* | basic/fs-util: change CHASE_OPEN flag into a separate output parameterZbigniew Jędrzejewski-Szmek2019-10-241-2/+2
|/
* sd-device: voidify and simplify calls to ordered_hashmap_iterate()Zbigniew Jędrzejewski-Szmek2019-07-171-10/+2