From: Stijn Tintel Date: Tue, 28 Jun 2022 21:51:41 +0000 (+0300) Subject: qoriq: enable HARDENED_USERCOPY X-Git-Tag: v22.03.0-rc5~28 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=e222660bc8cefe39c63a1d558c35481eeb2deb92;p=openwrt%2Fstaging%2Fpepe2k.git qoriq: enable HARDENED_USERCOPY The random crashes observed with HARDENED_USERCOPY enabled no longer seem to occur. Enable HARDENED_USERCOPY to improve security. Signed-off-by: Stijn Tintel (cherry picked from commit 61587c92425ecdcabb82a6c81cff698a23ffb049) --- diff --git a/target/linux/qoriq/config-5.10 b/target/linux/qoriq/config-5.10 index a6ca389838..6bdcd63b14 100644 --- a/target/linux/qoriq/config-5.10 +++ b/target/linux/qoriq/config-5.10 @@ -166,7 +166,6 @@ CONFIG_GPIO_GENERIC=y CONFIG_GPIO_MPC8XXX=y CONFIG_GRO_CELLS=y # CONFIG_HANGCHECK_TIMER is not set -# CONFIG_HARDENED_USERCOPY is not set CONFIG_HAS_DMA=y CONFIG_HAS_IOMEM=y CONFIG_HAS_IOPORT_MAP=y