freebsd-dev/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 loader: clean up devopen and devclose a bit 2019-12-13 08:41:37 +00:00
disk.c loader: disk_open() should honor D_PARTNONE 2019-06-06 16:27:05 +00:00
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 Fix compilation error for install.c in loader 2020-07-31 16:08:25 +00:00
interp_backslash.c
interp_forth.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
interp_lua.c loader: Use tslog to instrument some functions 2021-06-20 20:09:48 -07:00
interp_parse.c
interp_simple.c veloader use vectx API for kernel and modules 2020-03-08 17:42:42 +00:00
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 Fix stand/newvers.sh with zsh in sh mode 2020-08-12 15:49:10 +00:00
nvstore.c loader: zfs should support bootonce an nextboot 2020-09-21 09:01:10 +00:00
part.c loader: variable i is unused without MBR/GPT support built in 2020-06-16 07:05:03 +00:00
part.h loader: show APFS partition type name 2019-11-04 12:20:19 +00:00
paths.h Regularize my copyright notice 2019-12-04 16:56:11 +00:00
pnp.c
rbx.h
readin.h veloader use vectx API for kernel and modules 2020-03-08 18:48:01 +00:00
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 RISC-V boot1.efi and loader.efi support 2020-07-06 18:19:42 +00:00
tslog.c stand/common: Add support for timestamp logging (tslog) 2021-06-20 20:09:43 -07:00
vdisk.c loader: vdisk dereference after free 2019-12-13 08:20:20 +00:00
zfs_cmd.c loader: zfs_cmd.c does not really compile without libzfs.h 2020-06-16 07:30:34 +00:00