Messages in this thread | | | From | Linus Torvalds <> | Date | Wed, 7 Sep 2016 15:52:23 -0700 | 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@redhat.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
| |