opnsense-src/sys/boot/userboot/userboot
Toomas Soome 1ecc859193 dosfs support in libstand is broken since r298230
Apparently the libstand dosfs optimization is a bit too optimistic
and did introduce possible memory corruption.

This patch is backing out the bad part and since this results in
dosfs reading full blocks now, we can also remove extra offset argument
from dv_strategy callback.

The analysis of the issue and the backout patch is provided by Mikhail Kupchik.

PR:		214423
Submitted by:	Mikhail Kupchik
Reported by:	Mikhail Kupchik
Reviewed by:	bapt, allanjude
Approved by:	allanjude (mentor)
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D8644
2016-12-30 19:06:29 +00:00
..
autoload.c
biossmap.c Add support for FreeBSD/i386 guests under bhyve. 2014-02-05 04:39:03 +00:00
bootinfo.c howto_names: unify declaration 2014-03-11 10:13:06 +00:00
bootinfo32.c Add support for FreeBSD/i386 guests under bhyve. 2014-02-05 04:39:03 +00:00
bootinfo64.c Add support for FreeBSD/i386 guests under bhyve. 2014-02-05 04:39:03 +00:00
conf.c userboot: enable bzipfs support 2015-06-03 10:10:00 +00:00
copy.c Remove unused variables. 2012-08-05 11:59:46 +00:00
devicename.c Quiesce warning about discarding a const qualifier in assignement. 2014-08-08 21:47:47 +00:00
elf32_freebsd.c Add support for FreeBSD/i386 guests under bhyve. 2014-02-05 04:39:03 +00:00
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 Add support for FreeBSD/i386 guests under bhyve. 2014-02-05 04:39:03 +00:00
main.c Reduce boot loader version string duplication 2016-12-18 13:57:23 +00:00
Makefile Deduplicate loader vers.c Makefile rules 2016-12-19 14:40:59 +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 dosfs support in libstand is broken since r298230 2016-12-30 19:06:29 +00:00
version