summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Cerqueira <ricardo@cyngn.com>2015-02-11 23:11:19 +0000
committerRicardo Cerqueira <ricardo@cyngn.com>2015-02-11 23:16:47 +0000
commit23a1492f57f692ee229d3ac8cfa4246c8631fa7b (patch)
treef8b2438139f334d1e4c80489f917ea58c0532843
parent5ca33d98dbf1ad65604a041b94c4bf906b2ca5fc (diff)
downloadandroid_device_qcom_sepolicy-23a1492f57f692ee229d3ac8cfa4246c8631fa7b.tar.gz
android_device_qcom_sepolicy-23a1492f57f692ee229d3ac8cfa4246c8631fa7b.tar.bz2
android_device_qcom_sepolicy-23a1492f57f692ee229d3ac8cfa4246c8631fa7b.zip
Revert "SEAndroid: Updated vold domain related policy"
This reverts commit 733050a425e9fbfeaa5f07bfcba0c30795ca7291. This has an incorrect path, and doesn't belong here at all. Any platform using UMS is affected by this Change-Id: I067ba68a64c16406b787fefd97d6c6d9e0d41344
-rw-r--r--common/file.te3
-rw-r--r--[-rwxr-xr-x]common/genfs_contexts1
-rwxr-xr-xcommon/kernel.te1
-rw-r--r--[-rwxr-xr-x]common/vold.te1
-rw-r--r--sepolicy.mk1
5 files changed, 0 insertions, 7 deletions
diff --git a/common/file.te b/common/file.te
index b1f92b78..b59fc558 100644
--- a/common/file.te
+++ b/common/file.te
@@ -106,9 +106,6 @@ type ipacm_data_file, file_type;
#Define the files written during the operation of mmi
type mmi_data_file, file_type, data_file_type;
-#needed by vold
-type proc_dirty_ratio, fs_type;
-
# hbtp config file
type hbtp_cfg_file, file_type;
type hbtp_log_file, file_type;
diff --git a/common/genfs_contexts b/common/genfs_contexts
index f92adbdb..201bd78c 100755..100644
--- a/common/genfs_contexts
+++ b/common/genfs_contexts
@@ -1,2 +1 @@
genfscon proc /asound/card0/state u:object_r:proc_audiod:s0
-genfscon proc /proc/sys/vm/dirty_ratio u:object_r:proc_dirty_ratio:s0
diff --git a/common/kernel.te b/common/kernel.te
deleted file mode 100755
index 2a9a0831..00000000
--- a/common/kernel.te
+++ /dev/null
@@ -1 +0,0 @@
-allow kernel block_device:blk_file r_file_perms;
diff --git a/common/vold.te b/common/vold.te
index 71b32cd0..d639d6f5 100755..100644
--- a/common/vold.te
+++ b/common/vold.te
@@ -6,4 +6,3 @@ allow vold proc_sysrq:file rw_file_perms;
allow vold self:capability sys_boot;
allow vold cache_file:dir { write add_name };
allow vold cache_file:file { write create open };
-allow vold proc_dirty_ratio:file rw_file_perms;
diff --git a/sepolicy.mk b/sepolicy.mk
index e1a1f2fb..890f7cf1 100644
--- a/sepolicy.mk
+++ b/sepolicy.mk
@@ -88,7 +88,6 @@ BOARD_SEPOLICY_UNION += \
wfd_app.te \
mediaserver_test.te \
hbtp.te \
- kernel.te \
vold.te
-include device/qcom/sepolicy/$(TARGET_BOARD_PLATFORM)/Android.mk