kernel: allow kernel to mount loop devices. close #514

This commit is contained in:
weishu
2023-06-26 19:29:29 +08:00
parent 8b7dcc674a
commit aec6531576

View File

@@ -114,6 +114,10 @@ void apply_kernelsu_rules()
ksu_allow(db, "hwservicemanager", KERNEL_SU_DOMAIN, "process",
"getattr");
// For mounting loop devices, mirrors, tmpfs
ksu_allow(db, "kernel", ALL, "file", "read");
ksu_allow(db, "kernel", ALL, "file", "write");
// Allow all binder transactions
ksu_allow(db, ALL, KERNEL_SU_DOMAIN, "binder", ALL);