Re: [PATCH 6/8] x86: Provide API for local kernel TLB flushing

From
Kees Cook <hidden>
Date
2020-06-16 18:37:54
Also in
linux-security-module, lkml
Reply to
Andy Lutomirski, 2020-06-16
On Tue, Jun 16, 2020 at 09:59:29AM -0700, Andy Lutomirski wrote:
On Tue, Jun 16, 2020 at 12:49 AM Kees Cook [off-list ref] wrote:
quoted
The seccomp constant action bitmap filter evaluation routine depends
on being able to quickly clear the PTE "accessed" bit for a temporary
allocation. Provide access to the existing CPU-local kernel memory TLB
flushing routines.
Can you write a better justification?  Also, unless I'm just
Er, dunno? That's the entire reason this series needs it.
incompetent this morning, I can't find anyone calling this in the
series.
It's in patch 4, seccomp_update_bitmap():
https://lore.kernel.org/lkml/20200616074934.1600036-5-keescook@chromium.org/ (local)

-- 
Kees Cook
Thread (24 messages) 24 messages, 5 authors, last reply 2020-06-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help