Re: [PATCH 08/17] bpf: disable CFI in dispatcher functions

2021-03-11 Thread Kees Cook
On Thu, Mar 11, 2021 at 04:49:10PM -0800, Sami Tolvanen wrote: > BPF dispatcher functions are patched at runtime to perform direct > instead of indirect calls. Disable CFI for the dispatcher functions to > avoid conflicts. > > Signed-off-by: Sami Tolvanen Reviewed-by: Kees Cook -- Kees Cook

[PATCH 08/17] bpf: disable CFI in dispatcher functions

2021-03-11 Thread Sami Tolvanen
BPF dispatcher functions are patched at runtime to perform direct instead of indirect calls. Disable CFI for the dispatcher functions to avoid conflicts. Signed-off-by: Sami Tolvanen --- include/linux/bpf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/bpf