aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraudahadi <wan.audahadi@gmail.com>2016-12-24 03:58:47 +0530
committeraudahadi <wan.audahadi@gmail.com>2016-12-24 03:58:47 +0530
commitc5fac2f960f2fab78b3296b2d696203c24178e07 (patch)
treeb7ec0f44a2c884ea1cf188f1b7953e950afd4e96
parent1f09205721fdc49f696c67679dca61db02b6a16c (diff)
add Z00ED
Change-Id: Ia36190233430b038d41461cf8939c632e564fa64
-rw-r--r--Android.mk2
-rw-r--r--sepolicy/file_contexts3
-rw-r--r--sepolicy/perfd.te2
3 files changed, 1 insertions, 6 deletions
diff --git a/Android.mk b/Android.mk
index 8721934..3b88222 100644
--- a/Android.mk
+++ b/Android.mk
@@ -15,7 +15,7 @@
LOCAL_PATH := $(call my-dir)
-ifneq ($(filter Z00T Z00L Z010D,$(TARGET_DEVICE)),)
+ifneq ($(filter Z00T Z00L Z010D Z00ED,$(TARGET_DEVICE)),)
include $(call all-makefiles-under,$(LOCAL_PATH))
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index eb547d7..65cbd68 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -13,9 +13,6 @@
# ASDF
/asdf(/.*)? u:object_r:asdf_data_file:s0
-# Perfd
-/data/misc/perfd(/.*)? u:object_r:mpctl_data_file:s0
-
# Sensors
/dev/cm3602 u:object_r:sensors_device:s0
/dev/lightsensor u:object_r:sensors_device:s0
diff --git a/sepolicy/perfd.te b/sepolicy/perfd.te
deleted file mode 100644
index 598aef7..0000000
--- a/sepolicy/perfd.te
+++ /dev/null
@@ -1,2 +0,0 @@
-# allow perfd self:capability sys_ptrace;
-allow perfd mpctl_data_file:sock_file create_file_perms;