mirror of
https://github.com/Dichgrem/GKI-build.git
synced 2025-12-17 22:22:00 -05:00
fix:susfs_steps
This commit is contained in:
8
patches/fix1.patch
Normal file
8
patches/fix1.patch
Normal file
@@ -0,0 +1,8 @@
|
||||
--- a/drivers/kernelsu/ksud.c
|
||||
+++ b/drivers/kernelsu/ksud.c
|
||||
@@ -71,7 +71,6 @@
|
||||
#ifdef CONFIG_KSU_SUSFS_SUS_SU
|
||||
-bool susfs_is_sus_su_ready = false;
|
||||
#endif // #ifdef CONFIG_KSU_SUSFS_SUS_SU
|
||||
|
||||
u32 ksu_devpts_sid;
|
||||
8
patches/fix2.patch
Normal file
8
patches/fix2.patch
Normal file
@@ -0,0 +1,8 @@
|
||||
--- a/drivers/kernelsu/kernel_compat.c
|
||||
+++ b/drivers/kernelsu/kernel_compat.c
|
||||
@@ -83,6 +83,7 @@
|
||||
|
||||
+ #undef ksu_access_ok
|
||||
int ksu_access_ok(const void *addr, unsigned long size) {
|
||||
#if LINUX_VERSION_CODE < KERNEL_VERSION(5,0,0)
|
||||
/* For kernels before 5.0.0, pass the type argument to access_ok. */
|
||||
Reference in New Issue
Block a user