diff options
Diffstat (limited to '0001-kdbus-interprocess-message-router.patch')
| -rw-r--r-- | 0001-kdbus-interprocess-message-router.patch | 80 |
1 files changed, 58 insertions, 22 deletions
diff --git a/0001-kdbus-interprocess-message-router.patch b/0001-kdbus-interprocess-message-router.patch index 513a229c353cfd..b20a24a0c87278 100644 --- a/0001-kdbus-interprocess-message-router.patch +++ b/0001-kdbus-interprocess-message-router.patch @@ -8,15 +8,15 @@ Nothing to see here, move along... drivers/Makefile | 1 drivers/kdbus/Kconfig | 5 drivers/kdbus/Makefile | 4 - drivers/kdbus/bus.c | 115 ++++++++ - drivers/kdbus/ep.c | 191 ++++++++++++++ + drivers/kdbus/bus.c | 122 +++++++++ + drivers/kdbus/ep.c | 200 ++++++++++++++ drivers/kdbus/kdbus.c | 610 +++++++++++++++++++++++++++++++++++++++++++++ - drivers/kdbus/kdbus.h | 190 ++++++++++++++ - drivers/kdbus/ns.c | 208 +++++++++++++++ + drivers/kdbus/kdbus.h | 201 ++++++++++++++ + drivers/kdbus/ns.c | 217 ++++++++++++++++ include/uapi/kdbus/kdbus.h | 86 ++++++ include/uapi/linux/major.h | 2 kdbus.c | 77 +++++ - 12 files changed, 1491 insertions(+) + 12 files changed, 1527 insertions(+) --- a/drivers/Kconfig +++ b/drivers/Kconfig @@ -51,7 +51,18 @@ Nothing to see here, move along... + --- /dev/null +++ b/drivers/kdbus/bus.c -@@ -0,0 +1,115 @@ +@@ -0,0 +1,122 @@ ++/* ++ * Copyright (C) 2013 Kay Sievers ++ * Copyright (C) 2013 Greg Kroah-Hartman <gregkh@linuxfoundation.org> ++ * Copyright (C) 2013 Linux Foundation ++ * ++ * kdbus is free software; you can redistribute it and/or modify it under ++ * the terms of the GNU Lesser General Public License as published by the ++ * Free Software Foundation; either version 2.1 of the License, or (at ++ * your option) any later version. ++ * ++ */ + +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + @@ -62,10 +73,6 @@ Nothing to see here, move along... +#include <linux/slab.h> +#include <linux/sched.h> +#include <linux/init.h> -+#include <linux/cred.h> -+#include <linux/security.h> -+#include <asm/uaccess.h> -+#include <uapi/linux/major.h> +#include <uapi/kdbus/kdbus.h> + +#include "kdbus.h" @@ -169,7 +176,19 @@ Nothing to see here, move along... + --- /dev/null +++ b/drivers/kdbus/ep.c -@@ -0,0 +1,191 @@ +@@ -0,0 +1,200 @@ ++/* ++ * Copyright (C) 2013 Kay Sievers ++ * Copyright (C) 2013 Greg Kroah-Hartman <gregkh@linuxfoundation.org> ++ * Copyright (C) 2013 Linux Foundation ++ * ++ * kdbus is free software; you can redistribute it and/or modify it under ++ * the terms of the GNU Lesser General Public License as published by the ++ * Free Software Foundation; either version 2.1 of the License, or (at ++ * your option) any later version. ++ * ++ */ ++ + +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + @@ -180,9 +199,6 @@ Nothing to see here, move along... +#include <linux/slab.h> +#include <linux/sched.h> +#include <linux/init.h> -+#include <linux/cred.h> -+#include <linux/security.h> -+#include <asm/uaccess.h> +#include <uapi/linux/major.h> +#include <uapi/kdbus/kdbus.h> + @@ -976,7 +992,18 @@ Nothing to see here, move along... +MODULE_ALIAS("devname:kdbus/control"); --- /dev/null +++ b/drivers/kdbus/kdbus.h -@@ -0,0 +1,190 @@ +@@ -0,0 +1,201 @@ ++/* ++ * Copyright (C) 2013 Kay Sievers ++ * Copyright (C) 2013 Greg Kroah-Hartman <gregkh@linuxfoundation.org> ++ * Copyright (C) 2013 Linux Foundation ++ * ++ * kdbus is free software; you can redistribute it and/or modify it under ++ * the terms of the GNU Lesser General Public License as published by the ++ * Free Software Foundation; either version 2.1 of the License, or (at ++ * your option) any later version. ++ * ++ */ + + +#ifndef __INTERNAL_KDBUS_H @@ -1169,7 +1196,19 @@ Nothing to see here, move along... +#endif --- /dev/null +++ b/drivers/kdbus/ns.c -@@ -0,0 +1,208 @@ +@@ -0,0 +1,217 @@ ++/* ++ * Copyright (C) 2013 Kay Sievers ++ * Copyright (C) 2013 Greg Kroah-Hartman <gregkh@linuxfoundation.org> ++ * Copyright (C) 2013 Linux Foundation ++ * ++ * kdbus is free software; you can redistribute it and/or modify it under ++ * the terms of the GNU Lesser General Public License as published by the ++ * Free Software Foundation; either version 2.1 of the License, or (at ++ * your option) any later version. ++ * ++ */ ++ +#define pr_fmt(fmt) KBUILD_MODNAME ": " fmt + +#include <linux/module.h> @@ -1179,9 +1218,6 @@ Nothing to see here, move along... +#include <linux/slab.h> +#include <linux/sched.h> +#include <linux/init.h> -+#include <linux/cred.h> -+#include <linux/security.h> -+#include <asm/uaccess.h> +#include <uapi/linux/major.h> +#include <uapi/kdbus/kdbus.h> + @@ -1382,9 +1418,9 @@ Nothing to see here, move along... +++ b/include/uapi/kdbus/kdbus.h @@ -0,0 +1,86 @@ +/* -+ * kdbus - interprocess message routing -+ * -+ * Copyright (C) 2013 ++ * Copyright (C) 2013 Kay Sievers ++ * Copyright (C) 2013 Greg Kroah-Hartman <gregkh@linuxfoundation.org> ++ * Copyright (C) 2013 Linux Foundation + * + * kdbus is free software; you can redistribute it and/or modify it under + * the terms of the GNU Lesser General Public License as published by the |
