Re: [PATCH] x86: use the correct function type for native_set_fixmap

From: Sami Tolvanen
Date: Tue Sep 24 2019 - 15:51:23 EST


On Mon, Sep 23, 2019 at 4:28 PM Kees Cook <keescook@xxxxxxxxxxxx> wrote:
> Is it correct that pv_mmu_ops can't be changed since this is an external
> API?

Someone else probably knows better, but yes, we could also fix this by
changing set_fixmap to accept enum fixed_addresses as the first
parameter, and changing the type of xen_set_fixmap instead.

Sami