kdbus: Add KDBUS_SUPER_MAGIC define 69/270769/2 submit/tizen/20220208.090027
authorKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 8 Feb 2022 10:30:42 +0000 (11:30 +0100)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 9 Feb 2022 01:05:25 +0000 (01:05 +0000)
The define has been originally provided by kernel's uapi headers, allowing
userspace programs to detect kdbus file system type being in use.

This commit moves the define to this repository as in Tizen it is the source
of all kdbus interfaces and APIs.

Change-Id: I058b72a76e5a8a49160095f1e8b132d07b2ab921
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
include/uapi/linux/kdbus.h
kernel/kdbus/fs.c
packaging/linux-tizen-modules-source.spec

index 4fc44cb1d4a8cdd053f9b4d9f8f6a96e683f5199..eaf9c20fed9f9c557c65a405c1bedc64fedcf089 100644 (file)
@@ -11,6 +11,8 @@
 #include <linux/ioctl.h>
 #include <linux/types.h>
 
+#define KDBUS_SUPER_MAGIC 0x44427573 /* moved from linux/include/uapi/linux/magic.h */
+
 #define KDBUS_IOCTL_MAGIC              0x95
 #define KDBUS_SRC_ID_KERNEL            (0)
 #define KDBUS_DST_ID_NAME              (0)
index 3e74111d6f87b7bb89e6569a7125f12cb43dae0e..537ba60d6d3dac2369f2203b4b8db72641f09231 100644 (file)
@@ -19,6 +19,7 @@
 #include <linux/magic.h>
 #include <linux/module.h>
 #include <uapi/linux/mount.h>
+#include <uapi/linux/kdbus.h>
 #include <linux/mutex.h>
 #include <linux/namei.h>
 #include <linux/pagemap.h>
index a8ba99118f8fc322151a3664ff226a7654a25285..b7e4cb2d0502744163cb7c996e6e823f230863dc 100644 (file)
@@ -1,5 +1,5 @@
 Name:           linux-tizen-modules-source
-Version:        7.0.7
+Version:        7.0.8
 Release:        0
 License:        GPL-2.0+
 Source0:        %{name}-%{version}.tar.xz