device/generic/common
Revision | 716763cb9de32629e7b5968316828e6107577a9b (tree) |
---|---|
Time | 2019-11-23 12:56:57 |
Author | Chih-Wei Huang <cwhuang@linu...> |
Commiter | Chih-Wei Huang |
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.
@@ -78,7 +78,7 @@ ifneq ($(strip $(BOARD_GPU_DRIVERS)),) | ||
78 | 78 | TARGET_HARDWARE_3D := true |
79 | 79 | endif |
80 | 80 | |
81 | -BOARD_KERNEL_CMDLINE := root=/dev/ram0 androidboot.selinux=permissive$(if $(filter x86_64,$(TARGET_ARCH) $(TARGET_KERNEL_ARCH)),, vmalloc=192M) | |
81 | +BOARD_KERNEL_CMDLINE := root=/dev/ram0$(if $(filter x86_64,$(TARGET_ARCH) $(TARGET_KERNEL_ARCH)),, vmalloc=192M) | |
82 | 82 | TARGET_KERNEL_DIFFCONFIG := device/generic/common/selinux_diffconfig |
83 | 83 | |
84 | 84 | COMPATIBILITY_ENHANCEMENT_PACKAGE := true |