CVS commit: src/sys/arch/x86/x86
"Taylor R Campbell" <[email protected]>
| Newsgroups | gmane.os.netbsd.devel.cvs |
|---|---|
| Message-ID | <[email protected]> |
Module Name: src Committed By: riastradh Date: Wed Jul 1 00:52:22 UTC 2026 Modified Files: src/sys/arch/x86/x86: efi_machdep.c Log Message: x86/efi: Bypass kASAN memcpy when copying the efi runtime. Fixes crash at boot with `options KASAN' enabled on EFI systems. We could try to find some way to exclude the EFI runtime mappings from kASAN, e.g. by hacking kasan_md_unsupported. But there's a lot of detailed exclusions to pass through to that (every entry in the EFI memory map), and this is the only memcpy in the whole kernel that all those details are likely to be applicable. PR kern/60391: kernel panic in efi_init() with "options KASAN" To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/sys/arch/x86/x86/efi_machdep.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.