KernelSU: Fixed some susfs features mistakenly being set to default n in Kconfig

Co-authored-by: simonpunk <simonpunk2016@gmail.com>
This commit is contained in:
ShirkNeko
2025-11-18 00:27:38 +08:00
parent fb539fae57
commit 722980e221

View File

@@ -61,7 +61,7 @@ config KSU_SUSFS
config KSU_SUSFS_SUS_PATH
bool "Enable to hide suspicious path (NOT recommended)"
depends on KSU_SUSFS
default n
default y
help
- Allow hiding the user-defined path and all its sub-paths from various system calls.
- Includes temp fix for the leaks of app path in /sdcard/Android/data directory.
@@ -100,7 +100,7 @@ config KSU_SUSFS_AUTO_ADD_SUS_BIND_MOUNT
config KSU_SUSFS_SUS_KSTAT
bool "Enable to spoof suspicious kstat"
depends on KSU_SUSFS
default n
default y
help
- Allow spoofing the kstat of user-defined file/directory.
- Effective only on zygote spawned user app process.
@@ -125,7 +125,7 @@ config KSU_SUSFS_AUTO_ADD_TRY_UMOUNT_FOR_BIND_MOUNT
config KSU_SUSFS_SPOOF_UNAME
bool "Enable to spoof uname"
depends on KSU_SUSFS
default n
default y
help
- Allow spoofing the string returned by uname syscall to user-defined string.
- Effective on all processes.
@@ -156,7 +156,7 @@ config KSU_SUSFS_SPOOF_CMDLINE_OR_BOOTCONFIG
config KSU_SUSFS_OPEN_REDIRECT
bool "Enable to redirect a path to be opened with another path (experimental)"
depends on KSU_SUSFS
default n
default y
help
- Allow redirecting a target path to be opened with another user-defined path.
- Effective only on processes with uid < 2000.