opnsense-src/sys/boot/ofw/libofw
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
..
devicename.c Fix panics on attempt to dereference uninitizlized pointer, returned via 2012-09-18 15:38:42 +00:00
elf_freebsd.c Provide a shim layer in loader to condense the Open Firmware device tree to 2015-03-09 02:57:34 +00:00
libofw.h sparc64/zfs boot: take advantage of new libzfsboot capabilities 2012-05-12 20:27:33 +00:00
Makefile Add more .NOMETA missed in r291320 2016-03-11 23:45:51 +00:00
ofw_console.c Backout rev 183181. It appears that I should have been using boot-device 2008-09-19 19:49:58 +00:00
ofw_copy.c Check the real-mode? OF property to find out whether we operate in real or 2010-11-17 19:35:56 +00:00
ofw_disk.c dosfs support in libstand is broken since r298230 2016-12-30 19:06:29 +00:00
ofw_memory.c Fix some memory management issues discovered when trying to boot the PPC 2010-10-28 23:46:05 +00:00
ofw_module.c
ofw_net.c Replace index() and rindex() calls with strchr() and strrchr(). 2012-01-03 18:51:58 +00:00
ofw_reboot.c
ofw_time.c The getsecs() function is implemented in platform- and bootfw-specific 2016-09-22 06:24:40 +00:00
openfirm.c Provide a shim layer in loader to condense the Open Firmware device tree to 2015-03-09 02:57:34 +00:00
openfirm.h Provide a shim layer in loader to condense the Open Firmware device tree to 2015-03-09 02:57:34 +00:00
ppc64_elf_freebsd.c Allow loader to load 64-bit ELFv2 PowerPC kernels. 2015-12-01 17:01:27 +00:00