freebsd-skq/sys/boot/userboot/userboot
tsoome 6a4fb6c26a loader: r316585 did miss userboot update
The work to implement zfs reader to inspect all pool label copies did
miss the userboot, this update does correct this issue.

Since userboot is already using common/disk.c API (disk_open() etc),
the fix is quite simple - we only need to make sure the userdisk_iocl()
will call disk_ioctl(). In addition, the diskioctl callback does return
int, not pointer.

Note, the review request is actually addressing the sparc and userboot,
but as testing the fix for sparc will take some more time, I am posting the
userboot fix now.

This patch is part of the implementation presented in review:
https://reviews.freebsd.org/D10302

Once we have the sparc part tested, we will have the complete fix
for the issue.

Reviewed by:	imp
2017-04-09 11:16:16 +00:00
..
autoload.c
biossmap.c
bootinfo32.c
bootinfo64.c
bootinfo.c howto_names: unify declaration 2014-03-11 10:13:06 +00:00
conf.c userboot: enable bzipfs support 2015-06-03 10:10:00 +00:00
copy.c
devicename.c Quiesce warning about discarding a const qualifier in assignement. 2014-08-08 21:47:47 +00:00
elf32_freebsd.c
elf64_freebsd.c Cleanup unnecessary semicolons from the kernel. 2016-04-10 23:07:00 +00:00
host.c dosfs support in libstand is broken since r298230 2016-12-30 19:06:29 +00:00
libuserboot.h
main.c loader: r316585 did miss userboot update 2017-04-09 11:16:16 +00:00
Makefile Split the ficl CFLAGS when they refer to an arch-specific include path. 2017-03-01 19:36:32 +00:00
Makefile.depend DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
userboot_cons.c Provide an alias for the userboot console and name it 'comconsole'. 2014-05-01 00:12:24 +00:00
userboot_disk.c loader: r316585 did miss userboot update 2017-04-09 11:16:16 +00:00
version