aboutsummaryrefslogtreecommitdiff
path: root/contrib/sendmail/libmilter/monitor.c
diff options
context:
space:
mode:
authorKristofer Peterson <kris@tranception.com>2026-03-09 19:40:34 +0000
committerKyle Evans <kevans@FreeBSD.org>2026-03-25 02:24:17 +0000
commit615f1b9eb17c921bbcb0cce2b9ad61910361325b (patch)
treeb06acb9f7a658930e5d18e462376d29f4275e870 /contrib/sendmail/libmilter/monitor.c
parent930a790c2abb3680a3449a1f9ce2eff2be7acc36 (diff)
kern/amd64/machdep: Replace memset in wrmsr_early_safe_endHEADmain
GENERIC-KASAN kernel failed to boot on a Dell PowerEdge C6615 with an AMD EPYC 8224P CPU; UEFI BIOS caught a #GP exception with %RIP in kasan_memset where %GS relative pointer (curthread->td_pflags2) was dereferenced. Investigation led to wrmsr_early_safe_end which calls memset to clear early #GP IDT entry. Replacing memset with __builtin_memset_inline still resulted in the compiler emitting a call to the memset resolver in GENERIC-KASAN build and the kernel stil faulted during boot. This version which has been successfully tested with both GENERIC and GENERIC-KASAN kernels uses memset_early. Signed-off-by: Kristofer Peterson <kris@tranception.com> Reviewed-by: kib Pull-Request: https://github.com/freebsd/freebsd-src/pull/2069
Diffstat (limited to 'contrib/sendmail/libmilter/monitor.c')
0 files changed, 0 insertions, 0 deletions