diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2016-12-06 13:53:07 -0800 |
---|---|---|
committer | Linux Build Service Account <lnxbuild@localhost> | 2016-12-06 13:53:07 -0800 |
commit | 03bfe541181c5863be5481cf8cecba74977c7cc9 (patch) | |
tree | 275368da46d9c4b6720a1758981686cec8a59ded | |
parent | 5187e9bce526649a8a6ea68f5972458fb81dc96f (diff) | |
parent | b8a2712c80052c856fc5379ca2d6f70c3d488273 (diff) | |
download | android_device_qcom_sepolicy-03bfe541181c5863be5481cf8cecba74977c7cc9.tar.gz android_device_qcom_sepolicy-03bfe541181c5863be5481cf8cecba74977c7cc9.tar.bz2 android_device_qcom_sepolicy-03bfe541181c5863be5481cf8cecba74977c7cc9.zip |
Merge b8a2712c80052c856fc5379ca2d6f70c3d488273 on remote branch
Change-Id: Id3055f72ca84c70dbe4132eb408bedcdb6e1c85b
-rw-r--r-- | common/audioserver.te | 3 | ||||
-rw-r--r-- | common/recovery.te | 3 | ||||
-rw-r--r-- | msm8909/file_contexts | 1 | ||||
-rw-r--r-- | msm8916/file_contexts | 1 | ||||
-rw-r--r-- | msm8992/file_contexts | 2 | ||||
-rw-r--r-- | msm8994/file_contexts | 2 |
6 files changed, 9 insertions, 3 deletions
diff --git a/common/audioserver.te b/common/audioserver.te index 48df422e..df2d09ce 100644 --- a/common/audioserver.te +++ b/common/audioserver.te @@ -86,3 +86,6 @@ use_per_mgr(audioserver); allow audioserver activity_service:service_manager find; set_prop(audioserver, dolby_prop) # DOLBY_END + +# for thermal sock files +unix_socket_connect(audioserver, thermal, thermal-engine) diff --git a/common/recovery.te b/common/recovery.te index c83bc974..210c4050 100644 --- a/common/recovery.te +++ b/common/recovery.te @@ -3,7 +3,8 @@ recovery_only(` allow recovery sdcard_type:dir r_dir_perms; allow recovery sdcard_type:file r_file_perms; allow recovery vfat:dir r_dir_perms; - allow recovery vfat:file r_file_perms; + allow recovery vfat:file create_file_perms; + allow recovery vfat:file rw_file_perms; allow recovery system_data_file:file r_file_perms; allow recovery system_data_file:dir r_dir_perms; allow recovery RIDL_data_file:file r_file_perms; diff --git a/msm8909/file_contexts b/msm8909/file_contexts index 424d82b1..642cfb5a 100644 --- a/msm8909/file_contexts +++ b/msm8909/file_contexts @@ -35,6 +35,7 @@ /dev/block/platform/soc.0/7824900.sdhci/by-name/misc u:object_r:misc_block_device:s0 /dev/block/platform/soc.0/7824900.sdhci/by-name/userdata u:object_r:userdata_block_device:s0 /dev/block/platform/soc.0/7824900.sdhci/by-name/logdump u:object_r:logdump_partition:s0 +/dev/block/platform/soc.0/7824900.sdhci/by-name/config u:object_r:frp_block_device:s0 /dev/block/mmcblk0 u:object_r:root_block_device:s0 /dev/block/mmcblk0rpmb u:object_r:rpmb_device:s0 diff --git a/msm8916/file_contexts b/msm8916/file_contexts index 31788b3b..c59fe8fb 100644 --- a/msm8916/file_contexts +++ b/msm8916/file_contexts @@ -36,6 +36,7 @@ /dev/block/platform/soc.0/7824900.sdhci/by-name/misc u:object_r:misc_block_device:s0 /dev/block/platform/soc.0/7824900.sdhci/by-name/userdata u:object_r:userdata_block_device:s0 /dev/block/platform/soc.0/7824900.sdhci/by-name/logdump u:object_r:logdump_partition:s0 +/dev/block/platform/soc.0/7824900.sdhci/by-name/config u:object_r:frp_block_device:s0 /dev/block/mmcblk0 u:object_r:root_block_device:s0 /dev/block/mmcblk0rpmb u:object_r:rpmb_device:s0 /dev/block/platform/soc.0/7824900.sdhci/by-name/boot u:object_r:boot_block_device:s0 diff --git a/msm8992/file_contexts b/msm8992/file_contexts index a765bc11..f4957ddb 100644 --- a/msm8992/file_contexts +++ b/msm8992/file_contexts @@ -37,7 +37,7 @@ /dev/block/platform/soc.0/f9824900.sdhci/by-name/boot u:object_r:boot_block_device:s0 /dev/block/platform/soc.0/f9824900.sdhci/by-name/recovery u:object_r:recovery_block_device:s0 /dev/block/platform/soc.0/f9824900.sdhci/by-name/cache u:object_r:cache_block_device:s0 -/dev/block/platform/soc.0/f9824900.sdhci/by-name/frp u:object_r:frp_block_device:s0 +/dev/block/platform/soc.0/f9824900.sdhci/by-name/config u:object_r:frp_block_device:s0 /dev/block/platform/soc.0/f9824900.sdhci/by-name/logdump u:object_r:logdump_partition:s0 /dev/block/mmcblk0rpmb u:object_r:rpmb_device:s0 /dev/block/mmcblk0 u:object_r:root_block_device:s0 diff --git a/msm8994/file_contexts b/msm8994/file_contexts index 5697413a..4c073044 100644 --- a/msm8994/file_contexts +++ b/msm8994/file_contexts @@ -57,5 +57,5 @@ /dev/block/platform/soc.0/f9824900.sdhci/by-name/boot u:object_r:boot_block_device:s0 /dev/block/platform/soc.0/f9824900.sdhci/by-name/recovery u:object_r:recovery_block_device:s0 /dev/block/platform/soc.0/f9824900.sdhci/by-name/cache u:object_r:cache_block_device:s0 -/dev/block/platform/soc.0/f9824900.sdhci/by-name/frp u:object_r:frp_block_device:s0 +/dev/block/platform/soc.0/f9824900.sdhci/by-name/config u:object_r:frp_block_device:s0 /dev/block/platform/soc.0/f9824900.sdhci/by-name/logdump u:object_r:logdump_partition:s0 |