diff for duplicates of <4EC8F158.8010706@redhat.com> diff --git a/a/1.txt b/N1/1.txt index 33f5dbe..e3d13ab 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -69,7 +69,8 @@ similar problem (though I have no idea if you can use a similar solution). > + * We require read & write permission as we cannot yet > + * enforce guest read-only protection or no access. > + */ -> + if ((vma->vm_flags & (VM_READ | VM_WRITE)) !> + (VM_READ | VM_WRITE)) +> + if ((vma->vm_flags & (VM_READ | VM_WRITE)) != +> + (VM_READ | VM_WRITE)) > + goto err_unlock; This, too, must be done at get_user_pages() time. diff --git a/a/content_digest b/N1/content_digest index 87d89dc..7fc4ec4 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,8 +1,8 @@ "ref\020111116225055.GA26985@bloggs.ozlabs.ibm.com\0" "ref\020111116225209.GB26985@bloggs.ozlabs.ibm.com\0" "From\0Avi Kivity <avi@redhat.com>\0" - "Subject\0Re: [PATCH 01/11] KVM: PPC: Add memory-mapping support for PCI passthrough\0" - "Date\0Sun, 20 Nov 2011 12:23:52 +0000\0" + "Subject\0Re: [PATCH 01/11] KVM: PPC: Add memory-mapping support for PCI passthrough and emulation\0" + "Date\0Sun, 20 Nov 2011 14:23:52 +0200\0" "To\0Paul Mackerras <paulus@samba.org>\0" "Cc\0linuxppc-dev@ozlabs.org" Alexander Graf <agraf@suse.de> @@ -80,7 +80,8 @@ "> +\t\t * We require read & write permission as we cannot yet\n" "> +\t\t * enforce guest read-only protection or no access.\n" "> +\t\t */\n" - "> +\t\tif ((vma->vm_flags & (VM_READ | VM_WRITE)) !> +\t\t (VM_READ | VM_WRITE))\n" + "> +\t\tif ((vma->vm_flags & (VM_READ | VM_WRITE)) !=\n" + "> +\t\t (VM_READ | VM_WRITE))\n" "> +\t\t\tgoto err_unlock;\n" "\n" "This, too, must be done at get_user_pages() time.\n" @@ -106,4 +107,4 @@ "-- \n" error compiling committee.c: too many arguments to function -592d95b53727c8b3295e8fca8352b56a5eb19442c1d49b690ce4a6bc56c37814 +638f6d15275b3aa2aed07db74bdbde73046255b7b4d8929cf1bddbbd2625ed77
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.