From c0d8ab2778fe75a0c9a31dc70c24b8d930140f3c Mon Sep 17 00:00:00 2001 From: Ziyan Date: Fri, 11 Mar 2016 01:01:57 +0100 Subject: Set selinux to permissive for now Change-Id: If7d72fb7710b9def7264a0229e9ee29014f56292 --- BoardConfig.mk | 2 +- sepolicy/rild.te | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index ef3dbb0..fcc3f17 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -42,7 +42,7 @@ TARGET_BOARD_OMAP_CPU := 4460 # Kernel BOARD_KERNEL_BASE := 0x80000000 -BOARD_KERNEL_CMDLINE := androidboot.hardware=$(TARGET_BOOTLOADER_BOARD_NAME) +BOARD_KERNEL_CMDLINE := androidboot.hardware=$(TARGET_BOOTLOADER_BOARD_NAME) androidboot.selinux=permissive TARGET_KERNEL_CONFIG := cyanogenmod_tuna_defconfig TARGET_KERNEL_SOURCE := kernel/samsung/tuna diff --git a/sepolicy/rild.te b/sepolicy/rild.te index 975a054..67a21b6 100644 --- a/sepolicy/rild.te +++ b/sepolicy/rild.te @@ -1,6 +1,4 @@ # rild allow rild radio_data_file:dir { r_dir_perms setattr }; -allow rild system_data_file:dir create_dir_perms; -allow rild system_data_file:file create_file_perms; allow rild self:process execmem; allow rild block_device:dir search; -- cgit v1.1