kdbus: add code for notifications and matches
authorDaniel Mack <daniel@zonque.org>
Thu, 11 Sep 2014 16:59:16 +0000 (18:59 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 29 Jun 2015 10:50:36 +0000 (19:50 +0900)
commitd45f16583b2b0430263e71553b08b511e464df77
tree2a5d5b9493e3e0e93926e92e96233660a73d5c97
parent13ba95e99dad2262cf4dbc113f04fb5387691959
kdbus: add code for notifications and matches

This patch adds code for matches and notifications.

Notifications are broadcast messages generated by the kernel, which
notify subscribes when connections are created or destroyed, when
well-known-names have been claimed, released or changed ownership,
or when reply messages have timed out.

Matches are used to tell the kernel driver which broadcast messages
a connection is interested in. Matches can either be specific on one
of the kernel-generated notification types, or carry a bloom filter
mask to match against a message from userspace. The latter is a way
to pre-filter messages from other connections in order to mitigate
unnecessary wakeups.

Change-Id: Ia5abbb8791b9029926f970afeb0639b4bb49fc1e
Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
Signed-off-by: Djalal Harouni <tixxdz@opendz.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paul Osmialowski <p.osmialowsk@samsung.com>
ipc/kdbus/match.c [new file with mode: 0644]
ipc/kdbus/match.h [new file with mode: 0644]
ipc/kdbus/notify.c [new file with mode: 0644]
ipc/kdbus/notify.h [new file with mode: 0644]