diff options
author | Sumit LNU <suchawla@codeaurora.org> | 2018-12-18 15:12:15 +0530 |
---|---|---|
committer | suchawla <suchawla@codeaurora.org> | 2019-01-08 17:08:44 +0530 |
commit | 96cfbd069162fa010fa57b9eee7daafc07568cfb (patch) | |
tree | e0a543253477511778d55ff56b0aae813ebf3c08 | |
parent | 0c62e32c715cd21dbc72d55b3033a93454f09df7 (diff) | |
download | android_device_qcom_sepolicy-96cfbd069162fa010fa57b9eee7daafc07568cfb.tar.gz android_device_qcom_sepolicy-96cfbd069162fa010fa57b9eee7daafc07568cfb.tar.bz2 android_device_qcom_sepolicy-96cfbd069162fa010fa57b9eee7daafc07568cfb.zip |
sepolicy :: Adding adsprpc_prop support for scve hals.
Allow the scve features to use adsprpc properties.
avc: denied { open } for path="/dev/__properties__/
u:object_r:adsprpc_prop:s0" dev="tmpfs" ino=12788
scontext=u:r:vendor_scve:s0 tcontext=u:object_r:adsprpc_prop:s0
tclass=file permissive=1
Change-Id: I1034ccb83fea9d5ab1e37755eb1c101af1a1ea19
-rw-r--r-- | vendor/common/hal_scve.te | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vendor/common/hal_scve.te b/vendor/common/hal_scve.te index 526cd4d2..52b99476 100644 --- a/vendor/common/hal_scve.te +++ b/vendor/common/hal_scve.te @@ -44,10 +44,13 @@ r_dir_file(vendor_scve, adsprpcd_file) # Access for ion memory allow vendor_scve ion_device:chr_file rw_file_perms; -# Access for DSP/QDSP device +# Access for DSP/QDSP device allow vendor_scve qdsp_device:chr_file rw_file_perms; allow vendor_scve dsp_device:chr_file rw_file_perms; +# Access for adsprpc_prop +get_prop(vendor_scve, adsprpc_prop) + # Access for GPU allow vendor_scve gpu_device:chr_file rw_file_perms; |