Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1210406

Re: [RFC] fs/kcore: change copy_to_user to copy_in_user

From yalin wang <yalin.wang2010@gmail.com>
Newsgroups linux.kernel
Subject Re: [RFC] fs/kcore: change copy_to_user to copy_in_user
Date 2015-08-20 12:50 +0200
Message-ID <pZvzX-2qY-3@gated-at.bofh.it> (permalink)
References <pZtRv-8m5-9@gated-at.bofh.it> <pZuNC-1gR-41@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


> 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.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[RFC] fs/kcore: change copy_to_user to copy_in_user yalin wang <yalin.wang2010@gmail.com> - 2015-08-20 11:00 +0200
  Re: [RFC] fs/kcore: change copy_to_user to copy_in_user Frans Klaver <fransklaver@gmail.com> - 2015-08-20 12:00 +0200
    Re: [RFC] fs/kcore: change copy_to_user to copy_in_user yalin wang <yalin.wang2010@gmail.com> - 2015-08-20 12:50 +0200
  Re: [RFC] fs/kcore: change copy_to_user to copy_in_user Linus Torvalds <torvalds@linux-foundation.org> - 2015-08-21 02:10 +0200

csiph-web