9
0
Fork 0
barebox/fs
Baruch Siach edf1301d82 fs: add basic sanity check before accessing the files array
This patch adds some basic file descriptor sanity checks to the file access
routines. Check whether the given file descriptor is in the files array range,
and whether the file entry is valid.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-28 08:21:46 +02:00
..
cramfs cramfs: probe(): fix cdev lookup 2009-12-16 08:38:42 +01:00
Kconfig add partition mtd support 2010-07-05 13:00:02 +02:00
Makefile This is Kconfig cleanup patch (not all configurations will use CFI, SPI, RAMFS and DEVFS). 2008-05-12 15:59:48 +02:00
devfs.c devfs: only check for ioctl function when needed 2010-07-05 15:07:13 +02:00
fs.c fs: add basic sanity check before accessing the files array 2010-07-28 08:21:46 +02:00
ramfs.c make sure ramfs/devfs are initialised when needed 2009-07-21 16:41:46 +02:00