Re: [PATCH 1/4] x86: use the correct function type in SYSCALL_DEFINE0

From: Andy Lutomirski
Date: Fri Sep 13 2019 - 18:33:55 EST


On Fri, Sep 13, 2019 at 2:00 PM Sami Tolvanen <samitolvanen@xxxxxxxxxx> wrote:
>
> Although a syscall defined using SYSCALL_DEFINE0 doesn't accept
> parameters, use the correct function type to avoid type mismatches
> with Control-Flow Integrity (CFI) checking.

Acked-by: Andy Lutomirski <luto@xxxxxxxxxx>