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

@@ -3,6 +3,7 @@
#include "selinux.h"
#include "sepolicy.h"
#include "ss/services.h"
#include "../klog.h" // IWYU pragma: keep
#if LINUX_VERSION_CODE >= KERNEL_VERSION(5, 10, 0)
#define SELINUX_POLICY_INSTEAD_SELINUX_SS

View File

@@ -1,8 +1,8 @@
#include "linux/printk.h"
#include "objsec.h"
#include "selinux.h"
#include "../klog.h" // IWYU pragma: keep
#define KERNEL_SU_DOMAIN "u:r:su:s0"
static u32 ksu_sid;

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