summaryrefslogtreecommitdiffstats
path: root/common/system_app.te
diff options
context:
space:
mode:
authorRavi Kumar Siddojigari <rsiddoji@codeaurora.org>2014-09-04 20:35:57 +0530
committerGerrit - the friendly Code Review server <code-review@localhost>2014-09-05 19:01:18 -0700
commite4e039786082afeb3c59f3f064f849a5d5113b7c (patch)
tree9186a4f36c50e09a9cc4f09743645310219472f7 /common/system_app.te
parentb80b30af19650c764817354eda1ae5df9ad172de (diff)
downloadandroid_device_qcom_sepolicy-e4e039786082afeb3c59f3f064f849a5d5113b7c.tar.gz
android_device_qcom_sepolicy-e4e039786082afeb3c59f3f064f849a5d5113b7c.tar.bz2
android_device_qcom_sepolicy-e4e039786082afeb3c59f3f064f849a5d5113b7c.zip
sepolicy : Added allow rules for fm_radio and bluetooth .
fm_radio: Need access on /dev/radio node which include read write and ioctl . For enabling/disable of fmradio it need insmod persmission and set permission on property controls . bluetooth : added access to the /dev/smd and permission to do set property on bt control . Change-Id: Ie348484b42be14d96b4dcee22c9f7c6561a3bd80
Diffstat (limited to 'common/system_app.te')
-rw-r--r--common/system_app.te3
1 files changed, 3 insertions, 0 deletions
diff --git a/common/system_app.te b/common/system_app.te
new file mode 100644
index 00000000..48103f80
--- /dev/null
+++ b/common/system_app.te
@@ -0,0 +1,3 @@
+# fm_radio app needes open read write on fm_radio_device
+allow system_app fm_radio_device:chr_file { read open ioctl};
+allow system_app ctl_default_prop:property_service set;