9
0
Fork 0
barebox/arch/arm/lib
Sascha Hauer 5e74263762 filetype: Pass bufsize
Pass the buffer size to the file detection code. This makes sure we do not
read past the buffer. This is especially useful for ext filesystem detection
as the magic is at byte offset 1080. Also introduce a FILE_TYPE_SAFE_BUFSIZE
define which is set to the minimum bufsize the detection code needs to detect
all known filetypes.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2012-12-03 11:23:25 +01:00
..
.gitignore rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
Makefile ARM: Add assembler function to get runtime offset 2012-09-09 18:25:20 +02:00
arm.c fix malloc space sizes 2011-12-03 10:09:29 +01:00
armlinux.c Merge branch 'for-next/remove-fsf-address' 2012-10-03 21:12:48 +02:00
ashldi3.S Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
ashrdi3.S Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
barebox.lds.S Merge branch 'for-next/remove-fsf-address' 2012-10-03 21:12:48 +02:00
bootm.c filetype: Pass bufsize 2012-12-03 11:23:25 +01:00
bootu.c arm lib: Remove redundant boot usage info from boot[uz].c 2012-11-19 10:14:11 +01:00
bootz.c arm lib: Remove redundant boot usage info from boot[uz].c 2012-11-19 10:14:11 +01:00
copy_template.S ARM: update string functions from Linux Kernel 2012-01-02 15:00:28 +01:00
div0.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
findbit.S ARM: update string functions from Linux Kernel 2012-01-02 15:00:28 +01:00
io-readsb.S ioreadsb: put the whole ioreadsb function into the .text.readsb section 2010-02-16 21:49:33 +01:00
io-readsl.S Add IO string functions to also handle 32 bit IO locations 2009-07-01 10:45:21 +02:00
io-readsw-armv4.S Remove all ARM __raw_* functions. They are mixed all over 2009-07-01 14:35:35 +02:00
io-writesb.S Remove all ARM __raw_* functions. They are mixed all over 2009-07-01 14:35:35 +02:00
io-writesl.S Add IO string functions to also handle 32 bit IO locations 2009-07-01 10:45:21 +02:00
io-writesw-armv4.S ARM: Separate assembler functions into their own section 2012-07-23 23:57:44 +02:00
io.c ARM: import memcpy_from/toio and memset_io from linux 2012-01-02 12:08:24 +01:00
lib1funcs.S Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
lshrdi3.S Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
memcpy.S ARM: update string functions from Linux Kernel 2012-01-02 15:00:28 +01:00
memset.S arm: implement optimized string functions 2009-08-18 15:45:00 +02:00
module.c module support for arm 2007-10-03 21:09:00 +02:00
runtime-offset.S ARM: Add assembler function to get runtime offset 2012-09-09 18:25:20 +02:00
unwind.c ARM: Add stack unwinding support 2011-03-10 14:50:07 +01:00