From: yalin wang <yalin.wang2010@gmail.com>
To: Frans Klaver <fransklaver@gmail.com>
Cc: bp@suse.de, Ingo Molnar <mingo@kernel.org>,
dave@sr71.net, bhe@redhat.com,
Andrew Morton <akpm@linux-foundation.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [RFC] fs/kcore: change copy_to_user to copy_in_user
Date: Thu, 20 Aug 2015 18:45:08 +0800 [thread overview]
Message-ID: <B5505FA8-6104-4DDE-AD39-B3AB70FA44A3@gmail.com> (raw)
In-Reply-To: <CAH6sp9NybJf9dVYLq1rHx94e9BT=_gF9T8+VaRyRXgWpYhaKNA@mail.gmail.com>
> On Aug 20, 2015, at 17:58, Frans Klaver <fransklaver@gmail.com> wrote:
>
> On Thu, Aug 20, 2015 at 10:59 AM, yalin wang <yalin.wang2010@gmail.com> wrote:
>> the copy_to_user() here expect can fix the fault on both kernel and
>> user address, this is not true on other platforms except x86,
>> change to user copy_in_user() so that can detect the page fault,
>> work as expected.
>
> Could you rephrase this into multiple sentences in comprehensible
> English? What is the expected behavior, what is the unexpected
> behavior and what can people do to trigger it?
>
ok, i will send a V2 patch.
next prev parent reply other threads:[~2015-08-20 10:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-08-20 8:59 yalin wang
2015-08-20 9:58 ` Frans Klaver
2015-08-20 10:45 ` yalin wang [this message]
2015-08-21 0:05 ` Linus Torvalds
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=B5505FA8-6104-4DDE-AD39-B3AB70FA44A3@gmail.com \
--to=yalin.wang2010@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=bhe@redhat.com \
--cc=bp@suse.de \
--cc=dave@sr71.net \
--cc=fransklaver@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®