[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CA+55aFw6frT7yE+fJKqKdU0HK6OqLG1PsyDXYH9fHsGvbKfk9A@mail.gmail.com>
Date: Wed, 7 Sep 2016 15:52:23 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Jiri Olsa <jolsa@...hat.com>
Cc: Andi Kleen <andi@...stfloor.org>,
Kees Cook <keescook@...omium.org>,
Jiri Olsa <jolsa@...nel.org>,
lkml <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Adrian Hunter <adrian.hunter@...el.com>,
KAMEZAWA Hiroyuki <kamezawa.hiroyu@...fujitsu.com>
Subject: Re: [PATCH] fs/proc/kcore.c: Omit kernel text area for hardened
usercopy feature
On Wed, Sep 7, 2016 at 2:24 PM, Jiri Olsa <jolsa@...hat.com> wrote:
>
> I'll give this more testing, but it looks ok so far,
Looks fine to me.
I'd perhaps suggest using a simpler interface than
"__get_free_pages(GFP_KERNEL, 0);".
If nothing else, just drop the "order" argument and use
"__get_free_page()", but maybe even just doing "kmalloc/kfree".
Linus
Powered by blists - more mailing lists