summaryrefslogtreecommitdiffstats
path: root/test/qmi_test_service.te
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2015-01-26 21:26:40 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2015-01-26 21:26:40 -0800
commit7cdac77d445cb2a3b9c0eb8b656313ca5619e2eb (patch)
treeca0abc529d3d5cc78ef7dfe870eb27860cce713d /test/qmi_test_service.te
parentc552d2b020783a928a62eb2477c745b687fd4af0 (diff)
parenta1432652304530418c043509ebe560df501ff06b (diff)
downloadandroid_device_qcom_sepolicy-7cdac77d445cb2a3b9c0eb8b656313ca5619e2eb.tar.gz
android_device_qcom_sepolicy-7cdac77d445cb2a3b9c0eb8b656313ca5619e2eb.tar.bz2
android_device_qcom_sepolicy-7cdac77d445cb2a3b9c0eb8b656313ca5619e2eb.zip
Merge "Merge tag 'AU_LINUX_ANDROID_LA.BF.1.1.05.00.02.162.248' into HEAD"
Diffstat (limited to 'test/qmi_test_service.te')
-rw-r--r--test/qmi_test_service.te5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/qmi_test_service.te b/test/qmi_test_service.te
index ed97c2ec..55066bbe 100644
--- a/test/qmi_test_service.te
+++ b/test/qmi_test_service.te
@@ -5,6 +5,8 @@ userdebug_or_eng(`
type qmi_test_service, domain;
domain_auto_trans(shell, qmi_test_service_exec, qmi_test_service)
domain_auto_trans(adbd, qmi_test_service_exec, qmi_test_service)
+ #enable access to loader in 64 bit system
+ allow qmi_test_service shell:fd use;
#test is launched from pseudo terminal so output goes there
allow qmi_test_service devpts:chr_file {read write getattr ioctl};
#to access smem log
@@ -20,4 +22,7 @@ userdebug_or_eng(`
allow qmi_test_service qmi_test_service:capability {dac_override dac_read_search setgid setuid fsetid};
#QCCI calls qmuxd API. The API will internally require this
qmux_socket(qmi_test_service);
+ #enable accessing the system health monitor to check the system health,
+ #if a request times out
+ allow qmi_test_service system_health_monitor_device:chr_file rw_file_perms;
')