One more question arises though...
On Sun, 25 May 2003 13:07:06 +0100
Christoph Hellwig <hch@infradead.org> wrote:
> verify_area only does some checks so you need to check the return
> value from copy_to_user. You could switch to __copy_to_user, though.
Why would __copy_to_user be a good choice? AFAIK, __copy_to_user does no
validy checks (as opposed to copy_to_user which does access_ok()) so,
considering verify_area() does only some checks, one could argue that
there's even less checking done if using __copy_to_user. Where am I
interpreting this wrong (as I certainly am) ?
Thanks again,
Paulo
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/