chiark / gitweb /
libudev: monitor - add client socket filter for subsystem value
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 22 Apr 2009 01:50:11 +0000 (03:50 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 22 Apr 2009 01:50:11 +0000 (03:50 +0200)
Messages send back by the udev daemon to the netlink socket are
multiplexed by the kernel and delivered to multiple clients. The
clients can upload a socket filter to let the kernel drop messages
not belonging to a certain subsystem. This prevent needless wakeups
and message processing for users who are only interested in a
subset of available events.

Recent kernels allow untrusted users to listen to the netlink
messages.

The messages send by the udev daemon are versioned, to prevent any
custom software reading them without libudev. The message wire format
may change with any udev version update.


No differences found