summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZiyan <jaraidaniel@gmail.com>2016-03-11 01:01:57 +0100
committerZiyan <jaraidaniel@gmail.com>2016-03-11 01:01:57 +0100
commitc0d8ab2778fe75a0c9a31dc70c24b8d930140f3c (patch)
treeb7da5b444b5f1c3f93e867fe4c72484a1e6f5619
parentf46175d718e519aeb0c2cd8bed2f1965fa57edf1 (diff)
downloaddevice_samsung_tuna-c0d8ab2778fe75a0c9a31dc70c24b8d930140f3c.tar.gz
device_samsung_tuna-c0d8ab2778fe75a0c9a31dc70c24b8d930140f3c.tar.bz2
device_samsung_tuna-c0d8ab2778fe75a0c9a31dc70c24b8d930140f3c.zip
Set selinux to permissive for now
Change-Id: If7d72fb7710b9def7264a0229e9ee29014f56292
-rwxr-xr-xBoardConfig.mk2
-rw-r--r--sepolicy/rild.te2
2 files changed, 1 insertions, 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;