]> git.ipfire.org Git - thirdparty/systemd.git/commit
libudev: monitor - set nl_pid when reusing fd in udev_monitor_new_from_netlink_fd
authorTom Gundersen <teg@jklm.no>
Tue, 2 Jun 2015 18:57:52 +0000 (20:57 +0200)
committerTom Gundersen <teg@jklm.no>
Tue, 2 Jun 2015 23:54:16 +0000 (01:54 +0200)
commit44daf75d985683190255e9cf7eb2eea0f370be02
treee819610177b6fe0df67c29e698df61d6462668a2
parentc26d1879c72fbaa147c0a82df433f676df139a90
libudev: monitor - set nl_pid when reusing fd in udev_monitor_new_from_netlink_fd

This allows a fd to be created and configured as part of one monitor, to be passed in
to create a second monitor without having to redo any of the configuration.
src/libudev/libudev-monitor.c