[PATCH 2/2] untrusted_app reads logs when android_cts enabled

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 app.te |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/app.te b/app.te
index b9b5a17..8b1aa53 100644
--- a/app.te
+++ b/app.te
@@ -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.
-- 
1.7.0.4


--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@xxxxxxxxxxxxx with
the words "unsubscribe selinux" without quotes as the message.


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux