From: Chih-Wei Huang Date: Sat, 23 Nov 2019 03:56:57 +0000 (+0800) Subject: Remove androidboot.selinux=permissive from cmdline X-Git-Tag: android-x86-8.1-r4~6 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=716763cb9de32629e7b5968316828e6107577a9b;hp=6d50976748ebc61030a91582a885b38283a2e2d2;p=android-x86%2Fdevice-generic-common.git Remove androidboot.selinux=permissive from cmdline The default selinux mode is set to permissive in init. If you want to use enforcing mode, add androidboot.selinux=enforcing to cmdline. --- diff --git a/BoardConfig.mk b/BoardConfig.mk index 7ab0e17..3f7e7f1 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -78,7 +78,7 @@ ifneq ($(strip $(BOARD_GPU_DRIVERS)),) TARGET_HARDWARE_3D := true endif -BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.selinux=permissive$(if $(filter x86_64,$(TARGET_ARCH) $(TARGET_KERNEL_ARCH)),, vmalloc=192M) +BOARD_KERNEL_CMDLINE := root=/dev/ram0$(if $(filter x86_64,$(TARGET_ARCH) $(TARGET_KERNEL_ARCH)),, vmalloc=192M) TARGET_KERNEL_DIFFCONFIG := device/generic/common/selinux_diffconfig COMPATIBILITY_ENHANCEMENT_PACKAGE := true