chiark / gitweb /
libudev: monitor - ignore messages from unusual sources
authorScott James Remnant <scott@ubuntu.com>
Wed, 8 Apr 2009 23:16:14 +0000 (16:16 -0700)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 8 Apr 2009 23:16:14 +0000 (16:16 -0700)
commite86a923d508c2aed371cdd958ce82489cf2ab615
tree9609f96aafb8c9dfe49e9c0afbed00784358ee68
parente2b362d9f23d4c63018709ab5f81a02f72b91e75
libudev: monitor - ignore messages from unusual sources

For added protection, ignore any unicast message received on the
netlink socket or any multicast message on the kernel group not
received from the kernel.

Signed-off-by: Scott James Remnant <scott@ubuntu.com>
udev/lib/libudev-monitor.c