diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2015-12-07 13:34:32 -0800 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2015-12-07 13:34:32 -0800 |
commit | 4d28ab61cf9915b3c0fac951998c2193cf13303a (patch) | |
tree | 225f870e935215ed13b7ffcd77b1ac099c44df80 | |
parent | db2f3f579c0c6411a63a4427801b5562300bf68e (diff) | |
parent | 7240c46b57fd40b68109dbf34df8641ad92694ba (diff) | |
download | android_device_qcom_sepolicy-4d28ab61cf9915b3c0fac951998c2193cf13303a.tar.gz android_device_qcom_sepolicy-4d28ab61cf9915b3c0fac951998c2193cf13303a.tar.bz2 android_device_qcom_sepolicy-4d28ab61cf9915b3c0fac951998c2193cf13303a.zip |
Merge "wfd: Add policies to allow encoder/decoder dumps"
-rw-r--r-- | common/wfdservice.te | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/wfdservice.te b/common/wfdservice.te index 35e47912..c4fd8ceb 100644 --- a/common/wfdservice.te +++ b/common/wfdservice.te @@ -55,9 +55,12 @@ allow wfdservice uhid_device:chr_file rw_file_perms; #Allow PROT_EXEC for 3rd party library loaded by wfdservice allow wfdservice self:process execmem; -#Allow access to read mmosal_logmask file in /data partition userdebug_or_eng(` +#Allow access to read mmosal_logmask file in /data partition allow wfdservice system_data_file:file r_file_perms; +#Allow access to dump encoder/decoder dumps in /data/misc/media + allow wfdservice media_data_file:dir w_dir_perms; + allow wfdservice media_data_file:file create_file_perms; ') #Allow access to firmware files for HDCP session |