Re: [PATCH] fs/proc/kcore.c: Omit kernel text area for hardened usercopy feature
From: Linus Torvalds
Date: Tue Sep 06 2016 - 14:34:34 EST
On Tue, Sep 6, 2016 at 10:56 AM, Kees Cook <keescook@xxxxxxxxxxxx> wrote:
>
> In the meantime, how about continuing to use a bounce buffer like
> already done in the vmalloc_or_module_addr() case immediately above?
Yes please. Let's not make up even more of the user access functions
with magical properties, for some special-case code in /proc/kcore.
Linus