]> git.ipfire.org Git - thirdparty/systemd.git/commit
sd-device: make cloned sd_device object can read udev database without uevent file 19815/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 4 Jun 2021 05:56:21 +0000 (14:56 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 5 Jun 2021 09:05:26 +0000 (18:05 +0900)
commit381f6d4ba5551898e7ff19189485072b94879281
tree49b11d7543ee58d06ad0340b75b1ab76d3bc707e
parentc7d6ebb13e1d3df0726735ce48861931318fe7de
sd-device: make cloned sd_device object can read udev database without uevent file

Some devices sent CHANGE and REMOVE uevent simultaneously.
To support that such device read udev database, let's copy minimal set of
properties which requires to read the database.

Fixes #19788.
src/libsystemd/sd-device/device-private.c