[libudev] udev_monitor_filter_remove not clearing tag filters?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I'm maintaining pyudev [1], a pure Python binding for libudev.  When
wrapping "udev_monitor_filter_remove()", I stumbled upon a discrepancy
between the documentation of this function and its sources.  The
documentation [2] states, that
it removes all filters from the monitor.  However, in the source code,
only the list of subsystem filters (as installed by
udev_monitor_filter_add_match_subsystem_devtype()") is cleared.  The
list of tag filters is not touched.

So what's the correct behaviour?  What should I write in the
documentation of the python bindings?

Greetings,
Sebastian Wiesner

[1] http://pyudev.readthedocs.org
[2] http://www.kernel.org/pub/linux/utils/kernel/hotplug/libudev/libudev-udev-monitor.html#udev-monitor-filter-remove
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux