opnsense-src/stand
Kyle Evans 0c9c8a4c64 stand: zfs: handle holes at the tail end correctly
This mirrors dmu_read_impl(), zeroing out the tail end of the buffer and
clipping the read to what's contained by the block that exists.

This fixes an issue that arose during the 13.1 release process; in
13.1-RC1 and later, setting up GELI+ZFS will result in a failure to
boot.  The culprit is this, which causes us to fail to load geom_eli.ko
as there's a residual portion after the single datablk that should be
zeroed out.

PR:		263407
Reviewed by:	tsoome

(cherry picked from commit 914dc91d12)
2022-04-23 22:51:38 -05:00
..
arm Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
arm64 Add an loader command on arm64 to sync the cache 2022-01-04 10:08:32 +00:00
common stand: Remove a double word in a source code comment 2022-04-14 08:07:55 +02:00
defaults Add support for getting early entropy from UEFI 2022-03-10 18:11:41 -08:00
efi stand: libefi: swap /Pci() printing around 2022-04-21 17:34:51 -05:00
fdt loader: Fix dtb loading 2022-01-14 14:44:36 +01:00
ficl ficl: Fix a typo in a comment 2021-12-03 16:53:00 +01:00
ficl32 Enable veriexec for loader 2019-02-26 06:22:10 +00:00
fonts loader: really use bold font for vga text mode 2021-01-08 01:24:30 +02:00
forth loader.4th(8): Fix a typo in the manual page 2022-04-09 08:15:25 +02:00
i386 stand: Fix a common typo in source code comments 2022-04-02 15:33:19 +02:00
images loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
kshim Fix build of stand/usb . 2021-05-10 16:11:19 +02:00
liblua contrib/lua: update to 5.4.2 2021-01-13 23:56:18 -06:00
liblua32 Add Lua as a scripting langauge to /boot/loader 2018-02-12 15:31:53 +00:00
libofw loader: implement mount/unmount rootfs 2022-01-13 08:58:21 +01:00
libsa stand: zfs: handle holes at the tail end correctly 2022-04-23 22:51:38 -05:00
libsa32 Enable veriexec for loader 2019-02-26 06:22:10 +00:00
lua Add support for getting early entropy from UEFI 2022-03-10 18:11:41 -08:00
man loader.efi: Improve the manual page 2022-04-04 19:49:55 +02:00
mips Disable PIE for MIPS ubldr 2022-01-23 11:09:53 +01:00
powerpc powerpc64: fix loader regression 2022-03-04 19:18:22 -03:00
uboot loader: implement mount/unmount rootfs 2022-01-13 08:58:21 +01:00
usb Fix build of stand/usb . 2020-01-23 10:40:34 +00:00
userboot loader: userboot: provide a getsecs() implementation 2022-04-21 17:35:01 -05:00
defs.mk powerpc64le: stand fixes 2021-11-05 11:29:40 -03:00
fdt.mk
ficl.mk loader: implement framebuffer console 2021-01-02 21:41:36 +02:00
loader.mk MFC loader+userland TSLOG support 2021-12-29 14:53:18 -08:00
lua.mk Do not include float interfaces when using libsa. 2018-02-23 04:04:25 +00:00
Makefile stand: ensure that the efi directory's dependencies are correct 2021-01-29 23:46:17 -06:00
Makefile.amd64 stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
Makefile.inc stand: properly declare subdir deps or .WAIT, do parallel build 2020-12-31 11:15:45 -06:00
uboot.mk Unify metadata load files for arm, mips, powerpc, sparc64 2018-02-13 03:44:50 +00:00