kernel: Migrate manual_su to ioctl
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user