opnsense-src/sys/boot/uboot/lib
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
..
api_public.h Enhance the mechanism that lets you configure the ubldr boot device by 2014-03-11 22:02:49 +00:00
console.c Move U-Boot compatibility library to WARNS=2 level. 2008-09-03 15:39:50 +00:00
copy.c Go back to using uintptr_t, because code that actually compiles is 2016-01-13 00:22:12 +00:00
devicename.c Use disk_fmtdev() and disk_parsedev() functions from the new DISK API. 2012-09-09 11:32:06 +00:00
disk.c dosfs support in libstand is broken since r298230 2016-12-30 19:06:29 +00:00
elf_freebsd.c Remove extra 0x before %p format strings introduced by r296182 2016-07-08 22:32:03 +00:00
glue.c Remove extra 0x before %p format strings introduced by r296182 2016-07-08 22:32:03 +00:00
glue.h Improve U-Boot API detection 2016-03-09 11:45:48 +00:00
libuboot.h An ARM kernel can be loaded at any 2MB boundary, make ubldr aware of that. 2015-05-17 19:59:05 +00:00
Makefile Add more .NOMETA missed in r291320 2016-03-11 23:45:51 +00:00
module.c Print error message if autoload fails due to missing DTB blob, otherwise 2015-05-26 20:32:14 +00:00
net.c If the user has set a u-boot env var named rootpath, automatically 2016-02-22 18:53:55 +00:00
reboot.c Move U-Boot compatibility library to WARNS=2 level. 2008-09-03 15:39:50 +00:00
time.c The getsecs() function is implemented in platform- and bootfw-specific 2016-09-22 06:24:40 +00:00