kdbus: add driver skeleton, ioctl entry points and utility functions
authorDaniel Mack <daniel@zonque.org>
Thu, 11 Sep 2014 16:52:52 +0000 (18:52 +0200)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 4 Apr 2016 01:12:23 +0000 (10:12 +0900)
commitb495946f7a8a5e0f3575ee3bcfbd688d18171b35
tree910ce8114f2323c76d2047233af1e7ba14d05fa2
parentf8d283102a6d0f05ca03e88c131627cc14b4301e
kdbus: add driver skeleton, ioctl entry points and utility functions

Add the basic driver structure.

handle.c is the main ioctl command dispatcher that calls into other parts
of the driver.

main.c contains the code that creates the initial domain at startup, and
util.c has utility functions such as item iterators that are shared with
other files.

limits.h describes limits on things like maximum data structure sizes,
number of messages per users and suchlike. Some of the numbers currently
picked are rough ideas of what what might be sufficient and are probably
rather conservative.

Change-Id: I48b15c95f89f24bad0287be5aad2ac18e3e70326
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>
Documentation/ioctl/ioctl-number.txt
ipc/kdbus/handle.c [new file with mode: 0644]
ipc/kdbus/handle.h [new file with mode: 0644]
ipc/kdbus/limits.h [new file with mode: 0644]
ipc/kdbus/main.c [new file with mode: 0644]
ipc/kdbus/util.c [new file with mode: 0644]
ipc/kdbus/util.h [new file with mode: 0644]