Revert "kernel: Apply the SUSFS patch"

This reverts commit ad0f3f6025.
This commit is contained in:
ShirkNeko
2025-11-09 21:39:04 +08:00
parent 3a0f9b4e2c
commit 66f37c7310
11 changed files with 19 additions and 944 deletions

View File

@@ -142,15 +142,6 @@ void apply_kernelsu_rules(void)
// https://android-review.googlesource.com/c/platform/system/logging/+/3725346
ksu_dontaudit(db, "untrusted_app", KERNEL_SU_DOMAIN, "dir", "getattr");
#ifdef CONFIG_KSU_SUSFS
// Allow umount in zygote process without installing zygisk
ksu_allow(db, "zygote", "labeledfs", "filesystem", "unmount");
susfs_set_kernel_sid();
susfs_set_init_sid();
susfs_set_ksu_sid();
susfs_set_zygote_sid();
#endif
mutex_unlock(&ksu_rules);
}