Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions kernel/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ kernelsu-objs += supercall/supercall.o

kernelsu-objs += feature/adb_root.o

kernelsu-objs += feature/selinux_hide.o

ifdef KBUILD_EXTMOD
ifeq ($(CONFIG_KSU_DISABLE_MANAGER),y)
ccflags-y += -DCONFIG_KSU_DISABLE_MANAGER=1
Expand Down
3 changes: 3 additions & 0 deletions kernel/core/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
#include "selinux/selinux.h"
#include "hook/syscall_hook.h"
#include "feature/adb_root.h"
#include "feature/selinux_hide.h"

#if defined(__x86_64__)
#include <asm/cpufeature.h>
Expand Down Expand Up @@ -124,6 +125,7 @@ int __init kernelsu_init(void)
ksu_feature_init();
ksu_sulog_init();
ksu_adb_root_init();
ksu_selinux_hide_init();

ksu_supercalls_init();

Expand Down Expand Up @@ -196,6 +198,7 @@ void __exit kernelsu_exit(void)

ksu_allowlist_exit();

ksu_selinux_hide_exit();
ksu_adb_root_exit();
ksu_sulog_exit();
ksu_feature_exit();
Expand Down
Loading