The various structures in the mod_metadata set of a FreeBSD kernel and modules contain pointers. The FreeBSD loader correctly deals with a mismatch in loader and kernel pointer size (e.g. 32-bit i386/ppc loader, loading 64-bit amd64/ppc64 kernels), but wasn't dealing with the inverse case where a 64-bit loader was loading a 32-bit kernel. Reported by: ktcallbox@gmail.com with a bhyve/i386 and ZFS root install Differential Revision: https://reviews.freebsd.org/D1129 Reviewed by: neel, jhb MFC after: 1 week |
||
|---|---|---|
| .. | ||
| bcache.c | ||
| boot.c | ||
| bootstrap.h | ||
| commands.c | ||
| console.c | ||
| crc32.c | ||
| crc32.h | ||
| dev_net.c | ||
| dev_net.h | ||
| devopen.c | ||
| disk.c | ||
| disk.h | ||
| gpt.c | ||
| gpt.h | ||
| help.common | ||
| install.c | ||
| interp.c | ||
| interp_backslash.c | ||
| interp_forth.c | ||
| interp_parse.c | ||
| isapnp.c | ||
| isapnp.h | ||
| load_elf.c | ||
| load_elf32.c | ||
| load_elf32_obj.c | ||
| load_elf64.c | ||
| load_elf64_obj.c | ||
| load_elf_obj.c | ||
| loader.8 | ||
| ls.c | ||
| Makefile.inc | ||
| md.c | ||
| merge_help.awk | ||
| misc.c | ||
| module.c | ||
| newvers.sh | ||
| panic.c | ||
| part.c | ||
| part.h | ||
| pnp.c | ||
| reloc_elf.c | ||
| reloc_elf32.c | ||
| reloc_elf64.c | ||
| ufsread.c | ||
| util.c | ||
| util.h | ||
| zfsloader.8 | ||