summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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