Re: [RFC PATCH 0/4] tracing/probes: uaccess: Add support user-space access

From: Masami Hiramatsu
Date: Wed Feb 27 2019 - 06:39:13 EST


On Wed, 27 Feb 2019 09:00:34 +0100
Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:

> On Wed, Feb 27, 2019 at 04:41:04PM +0900, Masami Hiramatsu wrote:
> >
> > IMHO, checking in access_ok() inside it is reasonable, but as it
> > commented, it is for "if pagefaults are enabled.". What we need another
> > access_ok() for the case when pagefaults are disabled, that is what PeterZ
> > suggested in below mail.
> >
> > https://lore.kernel.org/lkml/20190225150603.GE32494@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/T/#u
>
> FWIW, feel free to carry that patch with your other changes that require
> it.
>
> You can add my SoB if you write the Changelog ;-)

OK, I'll send v3 patch including your fix :)

Thank you!

--
Masami Hiramatsu <mhiramat@xxxxxxxxxx>