HardenedBSD/stand
Ian Lepore 98934c6843 Fix the handling of legacy-format devices in the u-boot loaderdev variable.
When I added support for the standard loader(8) disk0s2a: type formats,
the parsing of legacy format was broken because it also contains a colon,
but it comes before the slice and partition. That would cause disk_parsedev()
to return success with the slice and partition set to wildcard values.

This change examines the string first, and if it contains spaces, dots, or
a colon at any position other than the end, it must be a legacy-format
string and we don't even try to use disk_parsedev() on it.

Reported by:	Manuel Stuhn
2019-02-20 03:00:55 +00:00
..
arm
arm64
common loader: ptable_close() should check its argument 2019-02-18 20:29:19 +00:00
defaults Enable lualoader's kernel autodetection, disabled on install media 2018-10-11 17:17:54 +00:00
efi Allow reading the UEFI variable size 2019-02-08 14:56:28 +00:00
fdt
ficl
ficl32
forth Regularize the Netflix copyright 2019-02-04 21:28:25 +00:00
i386 Remove whole-disk vdev support from zfsboot 2019-02-17 03:52:44 +00:00
kshim
liblua Create new EINTEGRITY error with message "Integrity check failed". 2019-01-17 06:35:45 +00:00
liblua32
libsa cd9660: dirmatch fails to unmatch when name is prefix for directory record 2019-02-18 08:26:18 +00:00
libsa32
lua lualoader: only clear the screen before first password prompt 2019-02-18 02:59:47 +00:00
man
mips Unbreak mip64 build after r328437 2019-01-20 21:09:44 +00:00
ofw
powerpc powerpc/boot: Move ubldr to /boot/uboot, and make this a separate filesystem 2019-02-18 01:57:47 +00:00
sparc64 MK_ZFS -> {MK_ZFS|MK_LOADER_ZFS}, this is so we can diable userland / kernel 2019-01-05 22:45:20 +00:00
uboot Fix the handling of legacy-format devices in the u-boot loaderdev variable. 2019-02-20 03:00:55 +00:00
usb
userboot MK_ZFS -> {MK_ZFS|MK_LOADER_ZFS}, this is so we can diable userland / kernel 2019-01-05 22:45:20 +00:00
defs.mk Move inclusion of src.opts.mk later. 2018-12-03 17:51:10 +00:00
fdt.mk
ficl.mk
loader.mk Create MK_LOADER_VERBOSE and connect it to ELF_VERBOSE in the loader 2019-01-07 05:49:27 +00:00
lua.mk
Makefile
Makefile.amd64
Makefile.inc
uboot.mk