untrusted_app reads logs when android_cts enabled

This commit is contained in:
Haiqing Jiang 2012-07-30 11:24:06 -07:00 committed by Stephen Smalley
parent 173cbdd352
commit 3261feef97

4
app.te
View file

@ -120,6 +120,10 @@ bool app_ndk false;
if (app_ndk or android_cts) {
allow untrusted_app system_data_file:file { execute open };
}
# Read Logs
if (android_cts) {
allow untrusted_app log_device:chr_file read;
}
#
# Rules for all app domains.