Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[PATCH] remove verify_area(): remove fs/umsdos/notes as it only contain a verify_area related note

The file `fs/umsdos/notes' contains only a small note about a possible bug
involving verify_area(). Since umsdos is no longer in the kernel and
verify_area() is also gone, it seems to make sense that this file goes the way
of the Dodo.

After applying this patch the `fs/umsdos/' directory will be empty and can be
removed entirely.

Signed-off-by: Jesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by

Jesper Juhl and committed by
Linus Torvalds
82a25b56 720a8459

-17
-17
fs/umsdos/notes
··· 1 - This file contain idea and things I don't want to forget 2 - 3 - Possible bug in fs/read_write.c 4 - Function sys_readdir() 5 - 6 - There is a call the verify_area that does not take in account 7 - the count parameter. I guess it should read 8 - 9 - error = verify_area(VERIFY_WRITE, dirent, count*sizeof (*dirent)); 10 - 11 - instead of 12 - 13 - error = verify_area(VERIFY_WRITE, dirent, sizeof (*dirent)); 14 - 15 - Of course, now , count is always 1 16 - 17 -