kernel: Migrate manual_su to ioctl

This commit is contained in:
ShirkNeko
2025-11-06 02:52:14 +08:00
parent c9c62b25d2
commit 0ce7bc2627
7 changed files with 59 additions and 264 deletions

View File

@@ -790,9 +790,6 @@ void __init ksu_core_init(void)
if (ksu_register_feature_handler(&kernel_umount_handler)) {
pr_err("Failed to register umount feature handler\n");
}
#ifdef CONFIG_KSU_MANUAL_SU
ksu_netlink_init();
#endif
}
void ksu_core_exit(void)
@@ -807,7 +804,4 @@ void ksu_core_exit(void)
ksu_kprobe_exit();
#endif
ksu_unregister_feature_handler(KSU_FEATURE_KERNEL_UMOUNT);
#ifdef CONFIG_KSU_MANUAL_SU
ksu_netlink_exit();
#endif
}