kernel: Resolve implicit declaration conflicts

This commit is contained in:
ShirkNeko
2025-11-08 19:47:03 +08:00
parent 4425c88d5a
commit 0381d12be2
2 changed files with 3 additions and 0 deletions

View File

@@ -32,6 +32,8 @@ static DEFINE_MUTEX(allowlist_mutex);
static struct root_profile default_root_profile; static struct root_profile default_root_profile;
static struct non_root_profile default_non_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 static int allow_list_arr[PAGE_SIZE / sizeof(int)] __read_mostly
__aligned(PAGE_SIZE); __aligned(PAGE_SIZE);
static int allow_list_pointer __read_mostly = 0; static int allow_list_pointer __read_mostly = 0;

View File

@@ -43,6 +43,7 @@
#include "sucompat.h" #include "sucompat.h"
#include "sulog.h" #include "sulog.h"
#include "seccomp_cache.h" #include "seccomp_cache.h"
#include "ksud.h"
#include "throne_comm.h" #include "throne_comm.h"
#include "umount_manager.h" #include "umount_manager.h"