Remove src/libudev
libudev: device - replace by a thin wrapper around sd-device
libudev: private - introduce udev_device_new_from_synthetic_event() This allows set_action(), read_uevent_file() and read_db() to be made internal to libudev.
udev: downgrade "has devpath" and "filled with db file" messages Udev debug messages have to be significantly overhauled... For now just downgrade those two. They are responsible for approximately 25% of debug output during boot and are rather useless.
udev: make set_usec_initialized() internal to libudev Instead introduce ensure_usec_initialized(), which copies the timestamp if possible otherwise sets it to now(CLOCK_MONOTONIC).
libudev: introduce clone_with_db() This allows us to move the db reading from udevd to libudev.
libudev: introduce udev_device_properties_copy() To copy properties from one device to another. Drop the equivalent functionality from udevd.
libudev: udev_device_read_db - drop unused argument
libudev: udev_device_add_property - implicitly mark properties for saving to db 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.
udev/libudev: event - move {OLD_,}INTERFACE handling from udevd to libudev This should be internal to the library as it is only about reflecting the sysfs state in the udev_device.
libudev: private - make property_from_string_parse* static
util: rework strappenda(), and rename it strjoina() 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.
libudev: private - drop some functions from the internal API
libudev: monitor - move nulstr parsing to libudev-device Hide the details a bit.
udev: event - introduce and use internal udev_device_shallow_clone()
udev: event - move renaming of udev_device to libudev 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.
Assorted format fixes Types used for pids and uids in various interfaces are unpredictable. Too bad.
use correct format types
libudev: set errno properly in all error conditions of udev_device_new_from_syspath()
treewide: another round of simplifications Using the same scripts as in f647962d64e "treewide: yet more log_*_errno + return simplifications".