From 21ae2255e1cd2e17a4b9e7766aa1f86eec2f18a6 Mon Sep 17 00:00:00 2001 From: Chirayu Desai Date: Fri, 14 Nov 2014 11:11:15 +0530 Subject: Move SELinux policy to msm8974-common Change-Id: I312eb2c2eec3787809a9aff767cca24c6695bdcf --- BoardConfigCommon.mk | 10 ---------- sepolicy/app.te | 3 --- sepolicy/device.te | 2 -- sepolicy/file_contexts | 2 -- 4 files changed, 17 deletions(-) delete mode 100644 sepolicy/app.te delete mode 100644 sepolicy/device.te delete mode 100644 sepolicy/file_contexts 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 -- cgit v1.2.3