freebsd-dev/stand/i386
Gleb Smirnoff c7dd069c70 When we have a command returned by zfs_nextboot() that is longer
than command in the loader.conf, the latter needs to be nul terminated,
otherwise garbage trailer left from zfs_nextboot() will be passed to
parse_cmd() together with loader.conf command.

While here, reset cmd to empty string if read() returns error.

Reviewed by:	tsoome
2020-08-20 20:31:47 +00:00
..
boot0 Revert r362466 2020-06-22 07:46:24 +00:00
boot0sio
boot2 Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
btx btx: rename .s files to .S to use Clang IAS 2018-11-26 19:14:33 +00:00
cdboot stand: remove CLANG_NO_IAS from cdboot 2019-08-15 17:32:39 +00:00
common boot2: need to expand tab output and mask getchar 2020-06-16 20:35:00 +00:00
gptboot loader: implement GELI writes 2020-07-11 06:51:42 +00:00
gptzfsboot loader: create single zfs nextboot implementation 2020-06-20 06:23:31 +00:00
isoboot Remove tests for obsolete compilers in the build system 2020-05-12 15:22:40 +00:00
libfirewire biospci_write_config args were backwards 2019-01-08 20:01:56 +00:00
libi386 loader: create single zfs nextboot implementation 2020-06-20 06:23:31 +00:00
loader zfs: add an option to the bootloader to rewind the ZFS checkpoint 2020-08-18 19:48:04 +00:00
loader_4th Update Makefile.depend files 2019-12-11 17:37:53 +00:00
loader_lua Create a loader for each interpreter for x86 BIOS and all EFI 2018-08-14 18:44:41 +00:00
loader_simp Create a loader for each interpreter for x86 BIOS and all EFI 2018-08-14 18:44:41 +00:00
mbr stand/i386: rename .s to .S to use Clang IAS 2018-12-03 19:16:34 +00:00
pmbr stand/i386: rename .s to .S to use Clang IAS 2018-12-03 19:16:34 +00:00
pxeldr Avoid using non-portable dd conv=osync option 2020-05-11 08:40:33 +00:00
zfsboot When we have a command returned by zfs_nextboot() that is longer 2020-08-20 20:31:47 +00:00
boot.ldscript Link stand/i386 components using a linker script 2020-03-04 21:01:22 +00:00
Makefile Remove kgzip and kgzldr. 2019-05-24 05:34:21 +00:00
Makefile.inc Link stand/i386 components using a linker script 2020-03-04 21:01:22 +00:00