freebsd-nq/stand/common
Mark Johnston 9a964ad561 loader: Relax the check in is_kernphys_relocatable()
The check fails in kernels compiled with KASAN because AddressSanitizer
inserts redzones around global variables, so the size of the "kernphys"
symbol is 32 rather than 8.  Thus we fall back to copying even though
it's not necessary.

Simply remove the size check.  I didn't want to extend the symbol size
check since there's no guarantee that AddressSanitizer will always emit
32 bytes for "kernphys".

Reviewed by:	kib
MFC after:	1 month
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D35448
2022-06-15 11:39:10 -04:00
..
bcache.c loader: bcache: Fix debug printf 2021-12-16 11:50:43 +01:00
boot.c stand: Remove a double word in a source code comment 2022-04-09 09:27:34 +02:00
bootstrap.h Add support for module_verbose 2022-02-13 12:45:57 -08:00
commands.c loader: Add a readtest command 2021-12-16 11:50:31 +01:00
console.c Handle MODULE_VERBOSE_TWIDDLE in module_verbose_set 2022-02-23 21:26:41 -08:00
dev_net.c loader: net_open() should not replace f->f_devdata 2021-10-19 19:43:56 +03:00
dev_net.h
devopen.c
disk.c
disk.h
gfx_fb_stub.c loader: move all gfx_fb.c stubs to common/gfx_fb_stub.c 2021-12-14 15:27:47 -07:00
gfx_fb.c gfx_fb: Fix a typo in a source code comment 2021-12-22 10:00:42 +01:00
gfx_fb.h loader.efi: to preserve heap space, use AllocatePages() for shadow_fb 2021-12-22 11:39:28 +02:00
help.common
install.c
interp_backslash.c
interp_forth.c
interp_lua.c loader: Use tslog to instrument some functions 2021-06-20 20:09:48 -07:00
interp_parse.c
interp_simple.c
interp.c loader: Use tslog to instrument some functions 2021-06-20 20:09:48 -07:00
isapnp.c stand: Fix a common typo in source code comments 2022-06-05 09:49:51 +02:00
isapnp.h
load_elf32_obj.c
load_elf32.c
load_elf64_obj.c
load_elf64.c
load_elf_obj.c Add support for module_verbose 2022-02-13 12:45:57 -08:00
load_elf.c loader: Relax the check in is_kernphys_relocatable() 2022-06-15 11:39:10 -04:00
ls.c
Makefile.depend
md.c
merge_help.awk
metadata.c stand: remove mips support 2021-12-10 11:05:31 -07:00
misc.c loader: implement mount/unmount rootfs 2021-09-08 04:01:20 +03:00
module.c module_verbose should also affect non-ELF modules. 2022-02-14 10:44:46 -08:00
newvers.sh
nvstore.c
part.c
part.h
paths.h
pnp.c
rbx.h
readin.h
reloc_elf32.c
reloc_elf64.c
reloc_elf.c Reuse the amd64 loader relocation code on arm64 2021-01-20 17:59:38 +00:00
self_reloc.c
tslog.c stand/common: Add support for timestamp logging (tslog) 2021-06-20 20:09:43 -07:00
vdisk.c
zfs_cmd.c