freebsd-dev/stand
Allan Jude 71f0c895c1 Avoid reading past the end of the disk in zfsboot.c and biosdisk.c
The GELI boot code rounds reads up to 4k, since the encrypted sectors are
4k, and must be decrypted as a unit. With oddball sized disks (almost
always virtual), this can lead to reading past the end of the disk.

Reviewed by:	imp, tsoome
Sponsored by:	Klara Systems
Differential Revision:	https://reviews.freebsd.org/D15844
2018-06-16 15:16:02 +00:00
..
arm Go back to one loader.conf 2018-02-26 03:16:47 +00:00
arm64 No need to make objects here. 2018-04-27 22:15:18 +00:00
common bootprog_info is generated in vers.c. Move it's definition to 2018-06-14 06:41:33 +00:00
defaults Default loader.conf: Drop efi_max_resolution to 1x1 2018-04-03 02:41:32 +00:00
efi There's no need to walk through the tables looking for the smbios 2018-06-15 19:07:37 +00:00
fdt Eliminate bsd.stand.mk and -fPIC 32-bit intel builds 2018-02-16 00:17:32 +00:00
ficl Prefer uintXX_t to u_intXX_t 2018-03-13 16:33:00 +00:00
ficl32
forth forthloader: Remove "EFI boot environment message" 2018-04-25 02:42:57 +00:00
geli Introduce the 'n' flag for the geli attach command. 2018-05-09 20:53:38 +00:00
i386 Avoid reading past the end of the disk in zfsboot.c and biosdisk.c 2018-06-16 15:16:02 +00:00
kshim A more definitions to kernel emulation shim in order to build stand/usb. 2018-02-07 18:50:36 +00:00
liblua Use M. Warner Losh everywhere on my copyrights. 2018-05-01 16:29:22 +00:00
liblua32 Add Lua as a scripting langauge to /boot/loader 2018-02-12 15:31:53 +00:00
libsa libsa: open() should use NULL instead of typecasted 0 2018-06-14 16:11:50 +00:00
libsa32
lua lualoader: Match Forth module-loading behavior w.r.t flags 2018-06-12 18:42:41 +00:00
man Clarify that boot_mute / boot -m mutes kernel console only 2018-05-16 02:15:18 +00:00
mips bootprog_info is generated in vers.c. Move it's definition to 2018-06-14 06:41:33 +00:00
ofw - Unbreak booting sparc64 kernels after the metadata unification in 2018-05-21 01:20:19 +00:00
powerpc bootprog_info is generated in vers.c. Move it's definition to 2018-06-14 06:41:33 +00:00
sparc64 bootprog_info is generated in vers.c. Move it's definition to 2018-06-14 06:41:33 +00:00
uboot bootprog_info is generated in vers.c. Move it's definition to 2018-06-14 06:41:33 +00:00
usb Move the stand/usb test loader into its own directory. 2018-02-07 19:20:59 +00:00
userboot bootprog_info is generated in vers.c. Move it's definition to 2018-06-14 06:41:33 +00:00
zfs Remove comments and assertions that are no longer valid after r330809. 2018-06-05 22:13:45 +00:00
zfs32
defs.mk Fix build of stand with base gcc 2018-05-31 14:38:13 +00:00
fdt.mk
ficl.mk Remove redundant defs.mk includes. They aren't needed. 2018-06-14 06:14:48 +00:00
loader.mk Remove redundant defs.mk includes. They aren't needed. 2018-06-14 06:14:48 +00:00
lua.mk Do not include float interfaces when using libsa. 2018-02-23 04:04:25 +00:00
Makefile Create LOADER_UBOOT, and LOADER_OFW. Move these options out of 2018-03-01 19:50:55 +00:00
Makefile.amd64 Create LOADER_UBOOT, and LOADER_OFW. Move these options out of 2018-03-01 19:50:55 +00:00
Makefile.inc Minor flags cleanup 2017-12-02 00:06:58 +00:00
uboot.mk Unify metadata load files for arm, mips, powerpc, sparc64 2018-02-13 03:44:50 +00:00