diff options
| author | Sathish Ambley <sathishambley@codeaurora.org> | 2016-03-02 11:19:41 -0800 |
|---|---|---|
| committer | Steve Kondik <steve@cyngn.com> | 2016-08-05 00:19:14 -0700 |
| commit | 88707c07cbf3bb3807b4d8aa01d96040005561ed (patch) | |
| tree | 7116b6222d64ba7e6675eb4a16628f2480bd0746 | |
| parent | 9400d2fad5284577ce7a6dbbe9baf9c237a66f80 (diff) | |
| download | android_device_qcom_sepolicy-88707c07cbf3bb3807b4d8aa01d96040005561ed.tar.gz android_device_qcom_sepolicy-88707c07cbf3bb3807b4d8aa01d96040005561ed.tar.bz2 android_device_qcom_sepolicy-88707c07cbf3bb3807b4d8aa01d96040005561ed.zip | |
sepolicy: Add permissions for new dsp node
Add permission for SLPI node for targets where different
subsystems exist for ADSP and Sensors.
Change-Id: I161575826dfc929304a86a320f25ce2881cc2719
| -rw-r--r-- | common/device.te | 1 | ||||
| -rw-r--r-- | common/file_contexts | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/common/device.te b/common/device.te index 4778a3b4..fe81af03 100644 --- a/common/device.te +++ b/common/device.te @@ -26,6 +26,7 @@ type battery_data_device, dev_type; #Add qdsp_device type type qdsp_device, dev_type, mlstrustedobject; +type dsp_device, dev_type; #Define hvdcp/quickcharge device type hvdcp_device, dev_type; diff --git a/common/file_contexts b/common/file_contexts index ebb0e405..10f73ecb 100644 --- a/common/file_contexts +++ b/common/file_contexts @@ -19,6 +19,7 @@ /dev/seemplog u:object_r:seemplog_device:s0 /dev/radio0 u:object_r:fm_radio_device:s0 /dev/rtc0 u:object_r:rtc_device:s0 +/dev/sdsprpc-smd u:object_r:dsp_device:s0 /dev/sensors u:object_r:sensors_device:s0 /dev/smd.* u:object_r:smd_device:s0 /dev/smem_log u:object_r:smem_log_device:s0 |
