On Fri, Mar 24, 2006 at 12:52:09AM +0100, Blaisorblade wrote:
> We could even do without __private_ptr, and that's surely easier to do.
> Actually I think that it could be done like for i386:
We can, but I'm looking for a safe patch to quiet the warnings. I did
strip down __get_user and __put_user with no apparent ill effects, but
I'm not happy sending something like that off to Andrew with 5 minutes
of testing. I'll put the cleanup patch in my development tree and if
I don't see any problems, then I'll send it off.
> However, I think that get_user doesn't guarantee a "full copy" semantic -
> include/asm-i386/uaccess.h says it zeroes the dest var on error, so we're
> safe.
Yeah, I think so. In which case, these become pretty thin wrappers
around copy_{to,from}_user.
Jeff
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel