Re: [PATCH 4/4] x86: fix function types in COND_SYSCALL
From: Andy Lutomirski
Date: Fri Sep 13 2019 - 18:46:46 EST
On Fri, Sep 13, 2019 at 2:00 PM Sami Tolvanen <samitolvanen@xxxxxxxxxx> wrote:
>
> Define a weak function in COND_SYSCALL instead of a weak alias to
> sys_ni_syscall, which has an incompatible type. This fixes indirect
> call mismatches with Control-Flow Integrity (CFI) checking.
>
Didn't you just fix the type of sys_ni_syscall? What am I missing here?