qoriq: enable HARDENED_USERCOPY
authorStijn Tintel <stijn@linux-ipv6.be>
Tue, 28 Jun 2022 21:51:41 +0000 (00:51 +0300)
committerStijn Tintel <stijn@linux-ipv6.be>
Fri, 1 Jul 2022 10:39:25 +0000 (13:39 +0300)
The random crashes observed with HARDENED_USERCOPY enabled no longer
seem to occur. Enable HARDENED_USERCOPY to improve security.

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
(cherry picked from commit 61587c92425ecdcabb82a6c81cff698a23ffb049)

target/linux/qoriq/config-5.10

index a6ca389838a009fa7fb5aec40db7fbc793362cfc..6bdcd63b14dc4bc4a9aba9afa2d6ce61d07a58b6 100644 (file)
@@ -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