From 05179ee119af8582ba814cf621191ff8197570db Mon Sep 17 00:00:00 2001 From: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com> Date: Sat, 8 Nov 2025 19:47:03 +0800 Subject: [PATCH] kernel: Resolve implicit declaration conflicts --- kernel/allowlist.c | 2 ++ kernel/core_hook.c | 1 + 2 files changed, 3 insertions(+) diff --git a/kernel/allowlist.c b/kernel/allowlist.c index 3b6239d7..c4fa4868 100644 --- a/kernel/allowlist.c +++ b/kernel/allowlist.c @@ -32,6 +32,8 @@ static DEFINE_MUTEX(allowlist_mutex); static struct root_profile default_root_profile; static struct non_root_profile default_non_root_profile; +void persistent_allow_list(void); + static int allow_list_arr[PAGE_SIZE / sizeof(int)] __read_mostly __aligned(PAGE_SIZE); static int allow_list_pointer __read_mostly = 0; diff --git a/kernel/core_hook.c b/kernel/core_hook.c index 23555f92..9274ee77 100644 --- a/kernel/core_hook.c +++ b/kernel/core_hook.c @@ -64,6 +64,7 @@ #include "sucompat.h" #include "sulog.h" #include "seccomp_cache.h" +#include "ksud.h" #include "throne_comm.h" #include "umount_manager.h"