From 10548f92435b69aaa8e54c9d2eba8356407ce603 Mon Sep 17 00:00:00 2001 From: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com> Date: Thu, 13 Nov 2025 17:06:27 +0800 Subject: [PATCH] kernel: fix build --- kernel/app_profile.c | 1 + kernel/app_profile.h | 1 - kernel/syscall_hook_manager.h | 1 - 3 files changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/app_profile.c b/kernel/app_profile.c index 2a9c4f00..ca356b07 100644 --- a/kernel/app_profile.c +++ b/kernel/app_profile.c @@ -6,6 +6,7 @@ #include #include #include +#include "objsec.h" #include "allowlist.h" #include "app_profile.h" diff --git a/kernel/app_profile.h b/kernel/app_profile.h index 46cfbcd8..80b2f916 100644 --- a/kernel/app_profile.h +++ b/kernel/app_profile.h @@ -2,7 +2,6 @@ #define __KSU_H_APP_PROFILE #include -#include "objsec.h" // Forward declarations struct cred; diff --git a/kernel/syscall_hook_manager.h b/kernel/syscall_hook_manager.h index 79253af8..a9c5b13f 100644 --- a/kernel/syscall_hook_manager.h +++ b/kernel/syscall_hook_manager.h @@ -9,7 +9,6 @@ #include #include #include "selinux/selinux.h" -#include "objsec.h" // Hook manager initialization and cleanup void ksu_syscall_hook_manager_init(void);