lkml.org 
[lkml]   [2020]   [Nov]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [patch V4 2/8] mm/highmem: Provide CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP
On Thu, Nov 19, 2020 at 12:46 AM Mel Gorman <mgorman@suse.de> wrote:
>
> And not start thinking it as a security hardening option.

It's probably the reverse of a hardening option, since it will cause
mapping of stuff in known and controllable virtual addresses.

Although any kmap'able page is likely to already be something you can
read anyway (ie page cache long after security checks have been done).
So it probably really doesn't matter either way.

The only thing that is certain is that it's going to slow down
important code-paths.

Linus

\
 
 \ /
  Last update: 2020-11-19 18:21    [W:2.545 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site