aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChirayu Desai <chirayudesai1@gmail.com>2014-11-14 11:11:15 +0530
committerChirayu Desai <chirayudesai1@gmail.com>2014-11-14 11:14:28 +0530
commit21ae2255e1cd2e17a4b9e7766aa1f86eec2f18a6 (patch)
treed77e8465ac5b844bb3baefd6fb35d1d4bc00fa4f
parentf7132845c6f31ea236d69300a91f0322c3d4d0e8 (diff)
Move SELinux policy to msm8974-common
Change-Id: I312eb2c2eec3787809a9aff767cca24c6695bdcf
-rw-r--r--BoardConfigCommon.mk10
-rw-r--r--sepolicy/app.te3
-rw-r--r--sepolicy/device.te2
-rw-r--r--sepolicy/file_contexts2
4 files changed, 0 insertions, 17 deletions
diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
index d88c520..5fe9bc7 100644
--- a/BoardConfigCommon.mk
+++ b/BoardConfigCommon.mk
@@ -102,16 +102,6 @@ MAX_EGL_CACHE_SIZE := 2048*1024
# Init
TARGET_INIT_VENDOR_LIB := libinit_shinano
-# SELinux
-BOARD_SEPOLICY_DIRS += \
- device/sony/shinano-common/sepolicy
-
-# The list below is order dependent
-BOARD_SEPOLICY_UNION := \
- device.te \
- app.te \
- file_contexts
-
# Wifi
WPA_SUPPLICANT_VERSION := VER_0_8_X
BOARD_WLAN_DEVICE := bcmdhd
diff --git a/sepolicy/app.te b/sepolicy/app.te
deleted file mode 100644
index eb71391..0000000
--- a/sepolicy/app.te
+++ /dev/null
@@ -1,3 +0,0 @@
-# Grant GPU access to all processes started by Zygote.
-# They need that to render the standard UI.
-allow appdomain gpu_device:chr_file rw_file_perms;
diff --git a/sepolicy/device.te b/sepolicy/device.te
deleted file mode 100644
index f29322b..0000000
--- a/sepolicy/device.te
+++ /dev/null
@@ -1,2 +0,0 @@
-# GPU (used by most UI apps)
-type gpu_device, dev_type;
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
deleted file mode 100644
index 49aff48..0000000
--- a/sepolicy/file_contexts
+++ /dev/null
@@ -1,2 +0,0 @@
-# GPU device
-/dev/kgsl-3d0 u:object_r:gpu_device:s0