kernel: fix missing log tag (#117)

This commit is contained in:
Ylarod
2023-01-25 22:24:00 +08:00
committed by GitHub
parent 810087b2a7
commit 06aaae1335
12 changed files with 15 additions and 9 deletions

View File

@@ -1,9 +1,10 @@
#include "sepolicy.h"
#include "linux/gfp.h"
#include "linux/printk.h"
#include "linux/slab.h"
#include "linux/version.h"
#include "../klog.h" // IWYU pragma: keep
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0)
// TODO: backport to lower kernel
#define KSU_SUPPORT_ADD_TYPE