[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190227203906.c4f2e1bf1def44f32e37758e@kernel.org>
Date: Wed, 27 Feb 2019 20:39:06 +0900
From: Masami Hiramatsu <mhiramat@...nel.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: Joel Fernandes <joel@...lfernandes.org>,
Steven Rostedt <rostedt@...dmis.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
linux-kernel@...r.kernel.org,
Andy Lutomirski <luto@...capital.net>,
Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Changbin Du <changbin.du@...il.com>,
Jann Horn <jannh@...gle.com>,
Kees Cook <keescook@...omium.org>,
Andy Lutomirski <luto@...nel.org>,
Alexei Starovoitov <alexei.starovoitov@...il.com>,
Nadav Amit <namit@...are.com>
Subject: Re: [RFC PATCH 0/4] tracing/probes: uaccess: Add support user-space
access
On Wed, 27 Feb 2019 09:00:34 +0100
Peter Zijlstra <peterz@...radead.org> 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@hirez.programming.kicks-ass.net/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@...nel.org>
Powered by blists - more mailing lists