freebsd-dev/sys/amd64/ia32
Konstantin Belousov 2dec2b4a34 amd64: flush L1 data cache on syscall return with an error.
The knob allows to select the flushing mode or turn it off/on.  The
idea, as well as the list of the ignored syscall errors, were taken
from https://www.openwall.com/lists/kernel-hardening/2018/10/11/10 .

I was not able to measure statistically significant difference between
flush enabled vs disabled using syscall_timing getuid.

Reviewed by:	bwidawsk
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
Differential revision:	https://reviews.freebsd.org/D17536
2018-10-20 23:17:24 +00:00
..
ia32_exception.S Use SMAP on amd64. 2018-07-29 20:47:00 +00:00
ia32_misc.c Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
ia32_reg.c Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
ia32_signal.c Fix PSL_T inheritance on exec for x86. 2018-04-12 20:43:39 +00:00
ia32_sigtramp.S Move most of the contents of opt_compat.h to opt_global.h. 2018-04-06 17:35:35 +00:00
ia32_syscall.c amd64: flush L1 data cache on syscall return with an error. 2018-10-20 23:17:24 +00:00