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

From: yalin wang
Date: Thu Aug 20 2015 - 06:45:22 EST



> On Aug 20, 2015, at 17:58, Frans Klaver <fransklaver@xxxxxxxxx> wrote:
>
> On Thu, Aug 20, 2015 at 10:59 AM, yalin wang <yalin.wang2010@xxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/