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 4fc44cb..eaf9c20 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 3e74111..537ba60 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 a8ba991..b7e4cb2 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