defconfig: msmcortex: Enable PAN emulation
Privilege Access Never (PAN) enforces the usage of copy_to_user/copy_from_user and friends when kernel accesses data from user space. If user space memory is accessed outside of these functions a kernel panic occurs. Change-Id: Ic32ad8ecb6d921293fca74664116098723afc436 Signed-off-by: Olav Haugan <ohaugan@codeaurora.org>
This commit is contained in:
parent
8312e8d304
commit
875fa8b847
2 changed files with 2 additions and 0 deletions
|
@ -71,6 +71,7 @@ CONFIG_ARMV8_DEPRECATED=y
|
|||
CONFIG_SWP_EMULATION=y
|
||||
CONFIG_CP15_BARRIER_EMULATION=y
|
||||
CONFIG_SETEND_EMULATION=y
|
||||
CONFIG_ARM64_SW_TTBR0_PAN=y
|
||||
CONFIG_RANDOMIZE_BASE=y
|
||||
# CONFIG_RANDOMIZE_MODULE_REGION_FULL is not set
|
||||
# CONFIG_EFI is not set
|
||||
|
|
|
@ -71,6 +71,7 @@ CONFIG_ARMV8_DEPRECATED=y
|
|||
CONFIG_SWP_EMULATION=y
|
||||
CONFIG_CP15_BARRIER_EMULATION=y
|
||||
CONFIG_SETEND_EMULATION=y
|
||||
CONFIG_ARM64_SW_TTBR0_PAN=y
|
||||
CONFIG_RANDOMIZE_BASE=y
|
||||
CONFIG_BUILD_ARM64_APPENDED_DTB_IMAGE=y
|
||||
# CONFIG_CORE_DUMP_DEFAULT_ELF_HEADERS is not set
|
||||
|
|
Loading…
Add table
Reference in a new issue