From: Oleg Nesterov <oleg@redhat.com>
To: Christopher Yeoh <cyeoh@au1.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-kernel@vger.kernel.org
Subject: Re: [RESEND][PATCH] Cleanup of rw_copy_check_uvector and compat_rw_copy_check_uvector
Date: Thu, 12 Apr 2012 23:54:10 +0200 [thread overview]
Message-ID: <20120412215410.GB31852@redhat.com> (raw)
In-Reply-To: <20120411210604.26d04483@Gantu>
On 04/11, Christopher Yeoh wrote:
>
> Resending this patch which I first sent a couple of months ago and
> didn't notice it didn't go in at the time.
>
> This is the cleanup of rw_copy_check_uvector and
> compat_rw_copy_check_uvector after changes made to support CMA in an
> earlier patch. Rather than having an additional check_access parameter
> to these functions, the first paramater type is overloaded to allow the
> caller to specify CHECK_IOVEC_ONLY which means check that the contents
> of the iovec are valid, but do not check the memory that they point to.
> This is used by process_vm_readv/writev where we need to validate that a
> iovec passed to the syscall is valid but do not want to check the
> memory that it points to at this point because it refers to an address
> space in another process.
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
prev parent reply other threads:[~2012-04-12 21:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-11 11:36 [RESEND][PATCH] Cleanup of rw_copy_check_uvector and compat_rw_copy_check_uvector Christopher Yeoh
2012-04-12 21:54 ` Oleg Nesterov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120412215410.GB31852@redhat.com \
--to=oleg@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=cyeoh@au1.ibm.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.