Re: [PATCH v4 bpf-next 2/2] selftests/bpf: Add tests for BPF_NEG range tracking logic

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

 



On Wed, 2025-06-25 at 09:40 -0700, Song Liu wrote:
> BPF_REG now has range tracking logic. Add selftests for BPF_NEG.
> Specifically, return value of LSM hook lsm.s/socket_connect is used to
> show that the verifer tracks BPF_NEG(1) falls in the [-4095, 0] range;
> while BPF_NEG(100000) does not fall in that range.
> 
> Signed-off-by: Song Liu <song@xxxxxxxxxx>
> ---

Acked-by: Eduard Zingerman <eddyz87@xxxxxxxxx>





[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