kdbus: add connection, queue handling and message validation code
authorDaniel Mack <daniel@zonque.org>
Thu, 11 Sep 2014 16:57:24 +0000 (18:57 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 29 Jun 2015 10:50:36 +0000 (19:50 +0900)
commit7b2c88a63168b9069572f87843c6c31a44e76f10
treef45edf8ca6cba06029576e8b682d6b663a8afba7
parent784bdb3782ac7e6743a7dd8af7904f776362eaef
kdbus: add connection, queue handling and message validation code

This patch adds code to create and destroy connections, to validate
incoming messages and to maintain the queue of messages that are
associated with a connection.

Note that connection and queue have a 1:1 relation, the code is only
split in two parts for cleaner separation and better readability.

Change-Id: I98c2a9f8a9e0999bff4d8ae63ae35f65c4ecd2ab
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/connection.c [new file with mode: 0644]
ipc/kdbus/connection.h [new file with mode: 0644]
ipc/kdbus/item.c [new file with mode: 0644]
ipc/kdbus/item.h [new file with mode: 0644]
ipc/kdbus/message.c [new file with mode: 0644]
ipc/kdbus/message.h [new file with mode: 0644]
ipc/kdbus/queue.c [new file with mode: 0644]
ipc/kdbus/queue.h [new file with mode: 0644]
ipc/kdbus/reply.c [new file with mode: 0644]
ipc/kdbus/reply.h [new file with mode: 0644]
ipc/kdbus/util.h