From e4e039786082afeb3c59f3f064f849a5d5113b7c Mon Sep 17 00:00:00 2001 From: Ravi Kumar Siddojigari Date: Thu, 4 Sep 2014 20:35:57 +0530 Subject: 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 --- common/system_app.te | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 common/system_app.te (limited to 'common/system_app.te') 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; -- cgit v1.2.3