[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] linux-user EFAULT implementation

From: Stuart Anderson
Subject: Re: [Qemu-devel] [PATCH] linux-user EFAULT implementation
Date: Fri, 6 Jul 2007 12:55:15 -0400 (EDT)

On Fri, 6 Jul 2007, Fabrice Bellard wrote:

Please update page_check_range() (and other related functions) to return -EFAULT instead of EFAULT in case of error.

Will do.

Moreover, I believe using similar functions as Linux for memory access (copyfromuser, copytouser, get_user, put_user) would be cleaner.

This makes sense. That code that I sent was based on the idea that I was
just extending the model that was already there, instead of giving it a
complete overhaul. I'll look into how much work the overhaul would be.


Stuart R. Anderson                               address@hidden
Network & Software Engineering                   http://www.netsweng.com/
1024D/37A79149:                                  0791 D3B8 9A4C 2CDC A31F
                                                 BD03 0A62 E534 37A7 9149

reply via email to

[Prev in Thread] Current Thread [Next in Thread]