summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db820c/BoardConfig.mk1
-rw-r--r--device-common.mk1
-rw-r--r--sepolicy/file_contexts1
3 files changed, 3 insertions, 0 deletions
diff --git a/db820c/BoardConfig.mk b/db820c/BoardConfig.mk
index 3738d52..3f58615 100644
--- a/db820c/BoardConfig.mk
+++ b/db820c/BoardConfig.mk
@@ -12,6 +12,7 @@ BOARD_KERNEL_BASE := 0x80000000
BOARD_KERNEL_PAGESIZE := 4096
BOARD_KERNEL_CMDLINE := firmware_class.path=/vendor/firmware/ androidboot.hardware=db820c
BOARD_KERNEL_CMDLINE += printk.devkmsg=on
+BOARD_KERNEL_CMDLINE += androidboot.selinux=permissive
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4294967296 #4G
BOARD_USERDATAIMAGE_PARTITION_SIZE := 12884901888 #12G
BOARD_CACHEIMAGE_PARTITION_SIZE := 536870912 #512M
diff --git a/device-common.mk b/device-common.mk
index ddbe571..e57d383 100644
--- a/device-common.mk
+++ b/device-common.mk
@@ -35,6 +35,7 @@ PRODUCT_PACKAGES := \
android.hardware.graphics.mapper@2.0-service \
gralloc.gbm \
hwcomposer.drm \
+ libexpat_vendor \
libGLES_mesa
# Use Launcher3
diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts
index 141d646..ce53bda 100644
--- a/sepolicy/file_contexts
+++ b/sepolicy/file_contexts
@@ -15,4 +15,5 @@
/(vendor|system/vendor)/lib(64)?/libgbm\.so u:object_r:same_process_hal_file:s0
/(vendor|system/vendor)/lib(64)?/dri/gallium_dri\.so u:object_r:same_process_hal_file:s0
+/(vendor|system/vendor)/lib(64)?/dri/msm_dri\.so u:object_r:same_process_hal_file:s0
/(vendor|system/vendor)/lib(64)?/libdrm_freedreno\.so u:object_r:same_process_hal_file:s0