diff options
author | Kay Sievers <kay@vrfy.org> | 2013-12-18 21:16:35 +0100 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2014-01-09 17:00:02 -0500 |
commit | 09190b4d6509a0b44eb56b3f9db207b25d54f116 (patch) | |
tree | aebb5cb78930948490811ebeda4186cb8f566860 /src/libudev/libudev-monitor.c | |
parent | 77564de3264149c335aa76d3f28b86dadd889028 (diff) |
bus: catch up with kdbus changes
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'src/libudev/libudev-monitor.c')
-rw-r--r-- | src/libudev/libudev-monitor.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libudev/libudev-monitor.c b/src/libudev/libudev-monitor.c index 25d6a47f89..4d824ced8d 100644 --- a/src/libudev/libudev-monitor.c +++ b/src/libudev/libudev-monitor.c @@ -122,6 +122,14 @@ struct udev_monitor *udev_monitor_new_from_netlink_fd(struct udev *udev, const c else return NULL; + /* + * We do not support subscribing to uevents if no instance of udev + * is running. Uevents would otherwise broadcast the processing data + * of the host into containers, which is not acceptable. Containers + * will currently just not get any uevents. + */ + + udev_monitor = udev_monitor_new(udev); if (udev_monitor == NULL) return NULL; |