Kernel: Activate CONFIG_HARDENED_USERCOPY
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 7 Apr 2019 14:38:44 +0000 (16:38 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 11 May 2019 15:15:41 +0000 (17:15 +0200)
commit9b1239451d6598f39b3689c8c6e0d6147965e601
treefab6a37ee8b84cdf8f4a3d44876ab3b491de8e53
parentbdaaf66e28bd45837e420ac2300df108091ec97a
Kernel: Activate CONFIG_HARDENED_USERCOPY

This adds additional checks to the copy_from_user() and copy_to_user()
functions. The details are described in this article:
https://lwn.net/Articles/695991/

This should only have a very small performance impact on system calls
and should not affect routing performance.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/generic/config-4.14
target/linux/generic/config-4.19
target/linux/generic/config-4.9