kernel: fix am/pm error in app's su
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user