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, 4 Apr 2016 01:12:24 +0000 (10:12 +0900)
commit2cc3ccaa3d3dd0e12ba5ee99dd2dfecb97d25757
tree4a17a52e791f7c556da191f3697ce5f091ed897d
parent8bcefd8ac10f8a621fa7eb06fd2db12a6080eab9
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