kernel: fix am/pm error in app's su

This commit is contained in:
weishu
2023-01-16 15:48:40 +07:00
parent ece66a3c38
commit 710b933b08

View File

@@ -87,5 +87,9 @@ void apply_kernelsu_rules()
// Allow all binder transactions // Allow all binder transactions
ksu_allow(db, ALL, KERNEL_SU_DOMAIN, "binder", ALL); ksu_allow(db, ALL, KERNEL_SU_DOMAIN, "binder", ALL);
// Allow system server devpts
ksu_allow(db, "system_server", "untrusted_app_all_devpts", "chr_file", "read");
ksu_allow(db, "system_server", "untrusted_app_all_devpts", "chr_file", "write");
rcu_read_unlock(); rcu_read_unlock();
} }