qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] RFC: [1/11] EFAULT patch


From: Stuart Anderson
Subject: [Qemu-devel] RFC: [1/11] EFAULT patch
Date: Tue, 18 Sep 2007 21:04:38 -0400 (EDT)


This first part contains the additions to the existing infrastructure
needed to implement the new interfaces used in the rest of the patch.

In exec.c, page_check_range() has been added to take an address and a
size and and check to see if it is contained in a valid page that
belongs to the target. A flag is passed t indicate wether read or write
access should be checked.

In qemu.h, the access_ok macro has been given a real implemention, and
implementations of copy_from_user() and copy_to_user() have been added.


                                Stuart

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

Attachment: 06_efault.patch.1
Description: efault 1 of 11


reply via email to

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