• R/O
  • SSH
  • HTTPS

akari: 提交


Commit MetaInfo

修訂685 (tree)
時間2022-05-23 10:18:48
作者kumaneko

Log Message

(empty log message)

Change Summary

差異

--- trunk/akari/internal.h (revision 684)
+++ trunk/akari/internal.h (revision 685)
@@ -59,11 +59,6 @@
5959 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)
6060 #include <linux/magic.h>
6161 #endif
62-#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 15, 0)
63-#include <linux/stdarg.h>
64-#else
65-#include <stdarg.h>
66-#endif
6762 #if LINUX_VERSION_CODE >= KERNEL_VERSION(4, 10, 0)
6863 #include <linux/uaccess.h>
6964 #else
--- trunk/akari/policy_io.c (revision 684)
+++ trunk/akari/policy_io.c (revision 685)
@@ -6142,7 +6142,7 @@
61426142 */
61436143 static int ccs_open(struct inode *inode, struct file *file)
61446144 {
6145-#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 17, 0)
6145+#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 17, 0) || (defined(RHEL_MAJOR) && RHEL_MAJOR == 9 && defined(RHEL_MINOR) && RHEL_MINOR >= 1)
61466146 const u8 type = (unsigned long) pde_data(inode);
61476147 #elif LINUX_VERSION_CODE >= KERNEL_VERSION(3, 10, 0)
61486148 const u8 type = (unsigned long) PDE_DATA(inode);
Show on old repository browser