Re: [PATCH bpf-next] selftests/bpf: Workaround a verifier issue for test exhandler

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This patch was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Mon, 18 Apr 2022 22:09:00 -0700 you wrote:
> The llvm patch [1] enabled opaque pointer which caused selftest
> 'exhandler' failure.
>   ...
>   ; work = task->task_works;
>   7: (79) r1 = *(u64 *)(r6 +2120)       ; R1_w=ptr_callback_head(off=0,imm=0) R6_w=ptr_task_struct(off=0,imm=0)
>   ; func = work->func;
>   8: (79) r2 = *(u64 *)(r1 +8)          ; R1_w=ptr_callback_head(off=0,imm=0) R2_w=scalar()
>   ; if (!work && !func)
>   9: (4f) r1 |= r2
>   math between ptr_ pointer and register with unbounded min value is not allowed
> 
> [...]

Here is the summary with links:
  - [bpf-next] selftests/bpf: Workaround a verifier issue for test exhandler
    https://git.kernel.org/bpf/bpf-next/c/44df171a10f8

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux