kdbus: Import from patch into stand-alone format

This moves the driver from a patch format (kept in my quilt tree) into a
stand-alone repo so that others can work on it in an easier manner.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
handle lack of uid and gid for devnode callback

The kernel patch adding uid and gid to the devnode callback for struct
device_type is defining DRIVER_CORE_DEVICE_TYPE_DEVNODE_UID, so trigger
on that to know if we should be setting these values or not.

This will go away in the final version, for now this means if you don't
have the kernel patch, everything is owned by root.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Add README file.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
add .gitignore file.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
add stupid test tool.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
resolver: add initial framework of what this might look like

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
rename kdbus.c to main.c
remove read/write, we can only use ioctls
udev kdbus_kmsg
ep.c: convert to new ipr api

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
move the message structure to the public .h file

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
ns.c: convert to new idr api

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
kdbus.c: convert to new idr api

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
portal.c: a test kernel module

Doesn't build, but it's lunch time, so commit to be safe.

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
portal.c: it builds, but haven't tied in the character devices yet

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
add ioctl API
portal: clean up a bit and register the character devices

Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
portal.c: fix up module description
updates
update KDBUS_CMD_MSG_SEND