On Tue, Nov 3, 2020 at 6:59 PM Marco Elver <el...@google.com> wrote: > Add architecture specific implementation details for KFENCE and enable > KFENCE for the x86 architecture. In particular, this implements the > required interface in <asm/kfence.h> for setting up the pool and > providing helper functions for protecting and unprotecting pages. > > For x86, we need to ensure that the pool uses 4K pages, which is done > using the set_memory_4k() helper function. > > Reviewed-by: Dmitry Vyukov <dvyu...@google.com> > Co-developed-by: Marco Elver <el...@google.com> > Signed-off-by: Marco Elver <el...@google.com> > Signed-off-by: Alexander Potapenko <gli...@google.com>
Reviewed-by: Jann Horn <ja...@google.com>