defconfig: msm_defconfig: Enable the kernel protection debug features

Enable these defconfigs as they help with protecting the free pages,
modules and kernel text segment.

CONFIG_ARM64_PTDUMP
CONFIG_DEBUG_SET_MODULE_RONX
CONFIG_FREE_PAGES_RDONLY
CONFIG_KERNEL_TEXT_RDONLY

Signed-off-by: Rohit Vaswani <rvaswani@codeaurora.org>
This commit is contained in:
Rohit Vaswani 2016-03-02 19:27:58 -08:00 committed by David Keitel
parent 4ba90ce189
commit d2ce209dc6

View file

@ -500,6 +500,10 @@ CONFIG_QCOM_RTB_SEPARATE_CPUS=y
CONFIG_FUNCTION_TRACER=y CONFIG_FUNCTION_TRACER=y
CONFIG_MEMTEST=y CONFIG_MEMTEST=y
CONFIG_PANIC_ON_DATA_CORRUPTION=y CONFIG_PANIC_ON_DATA_CORRUPTION=y
CONFIG_ARM64_PTDUMP=y
CONFIG_DEBUG_SET_MODULE_RONX=y
CONFIG_FREE_PAGES_RDONLY=y
CONFIG_KERNEL_TEXT_RDONLY=y
CONFIG_SECURITY=y CONFIG_SECURITY=y
CONFIG_SECURITY_SELINUX=y CONFIG_SECURITY_SELINUX=y
CONFIG_SECURITY_SMACK=y CONFIG_SECURITY_SMACK=y