summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2016-09-29 22:22:57 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2016-09-29 22:22:57 -0700
commitdcde27f184b6d5222794cf6ba51487324464eb67 (patch)
treed2aeda3dc43a44305ce51b67a87790fded8a4a58
parent332edebd9b245a9159f8d33eb940e3808b3ced50 (diff)
parent10408aa7698d75a8a0a2f4817576ff4761ffc807 (diff)
downloadandroid_device_qcom_sepolicy-dcde27f184b6d5222794cf6ba51487324464eb67.tar.gz
android_device_qcom_sepolicy-dcde27f184b6d5222794cf6ba51487324464eb67.tar.bz2
android_device_qcom_sepolicy-dcde27f184b6d5222794cf6ba51487324464eb67.zip
Merge "common: Remove the references to misc_device"
-rw-r--r--common/device.te3
-rwxr-xr-xcommon/mmi.te3
-rw-r--r--common/qcomsysd.te1
-rw-r--r--msmcobalt/file_contexts2
4 files changed, 1 insertions, 8 deletions
diff --git a/common/device.te b/common/device.te
index f1997642..362be377 100644
--- a/common/device.te
+++ b/common/device.te
@@ -69,9 +69,6 @@ type efs_boot_dev, dev_type;
#MBA debug image partition
type mba_debug_dev, dev_type;
-#Misc partition
-type misc_partition, dev_type;
-
#logdump partition
type logdump_partition, dev_type;
diff --git a/common/mmi.te b/common/mmi.te
index 56b2be94..92e1ebcd 100755
--- a/common/mmi.te
+++ b/common/mmi.te
@@ -36,9 +36,6 @@ allow mmi persist_file:dir r_dir_perms;
allow mmi sensors_persist_file:dir create_dir_perms;
allow mmi sensors_persist_file:file create_file_perms;
-#allow mmi operation on MISC partition
-allow mmi misc_partition:blk_file w_file_perms;
-
#wifi case
allow mmi system_file:file x_file_perms;
allow mmi wpa_exec:file rx_file_perms;
diff --git a/common/qcomsysd.te b/common/qcomsysd.te
index 2dbd2cbc..c1257cb8 100644
--- a/common/qcomsysd.te
+++ b/common/qcomsysd.te
@@ -10,7 +10,6 @@ allow qcomsysd smem_log_device:chr_file rw_file_perms;
#Needed to read/write cookies to the misc partition
allow qcomsysd block_device:dir r_dir_perms;
allow qcomsysd {
- misc_partition
#Needed to access the bootselect partition
bootselect_device
}:blk_file rw_file_perms;
diff --git a/msmcobalt/file_contexts b/msmcobalt/file_contexts
index c22e4a62..46ad29a2 100644
--- a/msmcobalt/file_contexts
+++ b/msmcobalt/file_contexts
@@ -37,7 +37,7 @@
/dev/block/platform/soc/1da4000.ufshc/by-name/modemst1 u:object_r:modem_efs_partition_device:s0
/dev/block/platform/soc/1da4000.ufshc/by-name/modemst2 u:object_r:modem_efs_partition_device:s0
/dev/block/platform/soc/1da4000.ufshc/by-name/ssd u:object_r:ssd_device:s0
-/dev/block/platform/soc/1da4000.ufshc/by-name/misc u:object_r:misc_partition:s0
+/dev/block/platform/soc/1da4000.ufshc/by-name/misc u:object_r:misc_block_device:s0
/dev/block/platform/soc/1da4000.ufshc/by-name/rpm u:object_r:rpmb_device:s0
/dev/block/platform/soc/1da4000.ufshc/by-name/msadp u:object_r:mba_debug_dev:s0
/dev/block/platform/soc/1da4000.ufshc/by-name/recovery u:object_r:recovery_block_device:s0