qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH] efault - verify pages are in cache and are read/wri


From: Thayne Harbaugh
Subject: [Qemu-devel] [PATCH] efault - verify pages are in cache and are read/write
Date: Wed, 31 Oct 2007 16:30:27 -0600

This patch adds the function page_check_range() to verify that pages are
in the cache and that they are appropriately readable/writable.  It also
hooks up access_ok() to page_check_range() so that code patterns are
similar to kernel code.

When copying data from user space access_ok() is used to check that
pages are readable.  When copying data to user space access_ok() is used
to check that pages are writable.

Attachment: 06_efault.patch.1.1
Description: Text Data


reply via email to

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