kernel/config: Enable kernel configs for Android Enterprise

From Igor's review with Google, Google requires us to add the following
    kernel configs for customer build to enhance the security:

   CONFIG_SLUB_DEBUG=y
   # CONFIG_SLUB_DEBUG_ON is not set
   # CONFIG_SLUB_DEBUG_PANIC_ON is not set
   CONFIG_BUG_ON_DATA_CORRUPTION=y
   CONFIG_SCHED_STACK_END_CHECK=y

Change-Id: Ibccec957ebc66f31c77fddff1419b5bcb6c8f635
Signed-off-by: weimh1 <weimh1@lenovo.com>
Reviewed-on: https://gerrit.mot.com/1785753
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
weimh1 2020-10-27 16:13:43 +08:00 • committed by Xiaojun Ji
commit 28c524fc00

View file

@ -22,3 +22,8 @@ CONFIG_PSTORE_PMSG=y
CONFIG_SERIAL_MSM_GENI_CONSOLE=y
# CONFIG_SMB1398_CHARGER is not set
# CONFIG_SMB1355_SLAVE_CHARGER is not set
CONFIG_SLUB_DEBUG=y
# CONFIG_SLUB_DEBUG_ON is not set
# CONFIG_SLUB_DEBUG_PANIC_ON is not set
CONFIG_BUG_ON_DATA_CORRUPTION=y
CONFIG_SCHED_STACK_END_CHECK=y