opnsense-src/sys/boot/i386/libi386
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
..
amd64_tramp.S sys/boot: spelling fixes in comments. 2016-04-30 00:26:38 +00:00
biosacpi.c Deprecate using hints.acpi.0.rsdp to communicate the RSDP to the 2016-04-14 04:59:51 +00:00
bioscd.c dosfs support in libstand is broken since r298230 2016-12-30 19:06:29 +00:00
biosdisk.c dosfs support in libstand is broken since r298230 2016-12-30 19:06:29 +00:00
biosmem.c A new implementation of the loader block cache 2016-04-18 23:09:22 +00:00
biospci.c Really make WITHOUT_FORTH (MK_FORTH==no) work. The recent inclusion of 2016-10-25 17:31:57 +00:00
biospnp.c Make sure that each va_start has one and only one matching va_end, 2012-05-29 01:48:06 +00:00
biossmap.c Consolidate duplicate definitions of V86_CY() and V86_ZR() which check for 2011-10-25 19:45:12 +00:00
bootinfo.c howto_names: unify declaration 2014-03-11 10:13:06 +00:00
bootinfo32.c Update ZFS from version 6 to 13 and bring some FreeBSD-specific changes. 2008-11-17 20:49:29 +00:00
bootinfo64.c loader: fix the size of MODINFOMD_MODULEP 2015-01-20 12:28:24 +00:00
comconsole.c Add support for serial and null console to UEFI boot loader. 2014-09-12 17:32:28 +00:00
devicename.c Quiesce some clang warnings while we're here doing stuff. 2013-01-14 15:05:22 +00:00
elf32_freebsd.c Be nice, don't use the f-word. 2009-11-25 16:36:07 +00:00
elf64_freebsd.c loader: implement multiboot support for Xen Dom0 2015-01-15 16:27:20 +00:00
i386_copy.c For the cases when loading bzip2-compressed kernels enabled use last 2005-12-21 02:17:58 +00:00
i386_module.c Remove unused includes. 2010-11-13 15:23:20 +00:00
libi386.h Create a new linker set, Xficl_compile_set which contains a list of 2016-10-14 16:23:12 +00:00
Makefile Create a new linker set, Xficl_compile_set which contains a list of 2016-10-14 16:23:12 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2016-03-21 18:02:26 +00:00
multiboot.c multiboot: fix error codes 2015-04-01 10:10:20 +00:00
multiboot.h loader: implement multiboot support for Xen Dom0 2015-01-15 16:27:20 +00:00
multiboot_tramp.S loader: implement multiboot support for Xen Dom0 2015-01-15 16:27:20 +00:00
nullconsole.c Use __FBSDID(). 2003-08-25 23:28:32 +00:00
pread.c Use __FBSDID(). 2003-08-25 23:28:32 +00:00
pxe.c dosfs support in libstand is broken since r298230 2016-12-30 19:06:29 +00:00
pxe.h sys/boot: spelling fixes in comments. 2016-04-30 00:26:38 +00:00
pxetramp.s
smbios.c loader: smbios version check is not correct 2016-11-19 16:08:40 +00:00
smbios.h SMBIOS support for EFI. 2015-04-06 06:55:47 +00:00
spinconsole.c Make this compile when TERM_EMU is not defined. 2014-12-22 19:10:11 +00:00
time.c Make the RTC checking for QEMU even more aggressive. 2011-12-21 16:47:01 +00:00
vidconsole.c Fix a long standing bug. The caller expects a non-zero value for success. 2012-02-29 18:11:33 +00:00