1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys/amd64
Mark Johnston f115c06121 amd64: Add MD bits for KASAN
- Initialize KASAN before executing SYSINITs.
- Add a GENERIC-KASAN kernel config, akin to GENERIC-KCSAN.
- Increase the kernel stack size if KASAN is enabled.  Some of the
  ASAN instrumentation increases stack usage and it's enough to
  trigger stack overflows in ZFS.
- Mark the trapframe as valid in interrupt handlers if it is
  assigned to td_intr_frame.  Otherwise, an interrupt in a function
  which creates a poisoned alloca region can trigger false positives.

MFC after:	2 weeks
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D29455
2021-04-13 17:42:20 -04:00
..
acpica acpi: Make nexus_acpi quiet on amd64 and i386 2021-03-05 12:54:00 -05:00
amd64 amd64: Add MD bits for KASAN 2021-04-13 17:42:20 -04:00
cloudabi32 Get rid of sa->narg. It serves no purpose; use sa->callp->sy_narg instead. 2020-09-27 18:47:06 +00:00
cloudabi64 Get rid of sa->narg. It serves no purpose; use sa->callp->sy_narg instead. 2020-09-27 18:47:06 +00:00
conf amd64: Add MD bits for KASAN 2021-04-13 17:42:20 -04:00
ia32 amd64: clear debug registers on execing 32bit native binary 2021-04-10 04:25:02 +03:00
include amd64: Add MD bits for KASAN 2021-04-13 17:42:20 -04:00
linux linux: adjust ordering of Linux auxv and add dummy AT_HWCAP2 2021-04-13 13:14:30 +01:00
linux32 linux: adjust ordering of Linux auxv and add dummy AT_HWCAP2 2021-04-13 13:14:30 +01:00
pci pci_cfgreg.c: Use io port config access for early boot time. 2019-04-09 18:07:17 +00:00
sgx Convert remaining cap_rights_init users to cap_rights_init_one 2021-01-12 13:16:10 +00:00
vmm AMD-vi: Mixed format IVHD block should replace fixed format IVHD block 2021-04-01 15:31:24 +08:00
Makefile