提交 82a25b56 编写于 作者: J Jesper Juhl 提交者: Linus Torvalds

[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: NJesper Juhl <jesper.juhl@gmail.com>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 720a8459
This file contain idea and things I don't want to forget
Possible bug in fs/read_write.c
Function sys_readdir()
There is a call the verify_area that does not take in account
the count parameter. I guess it should read
error = verify_area(VERIFY_WRITE, dirent, count*sizeof (*dirent));
instead of
error = verify_area(VERIFY_WRITE, dirent, sizeof (*dirent));
Of course, now , count is always 1
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册