x86: Activate CONFIG_X86_SMAP
authorHauke Mehrtens <hauke@hauke-m.de>
Sun, 7 Apr 2019 17:38:04 +0000 (19:38 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 11 May 2019 15:15:41 +0000 (17:15 +0200)
commit2164a7bf153c364b691858d7f4555191188f7999
treebafb7924c663a07a594dc8ed382495bb02ac34a8
parent75eb8a146de8db0240e2eb3434074c700da2ba3c
x86: Activate CONFIG_X86_SMAP

This activates "Supervisor Mode Access Prevention". modern CPUs will
prevent the kernel code from accessing any data from the userspace
without the usage of copy_to_user() or copy_from_user()

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