Re: [PATCH bpf-next v2 00/15] bpf: Support new insns from cpu v4

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

 



On Mon, 2023-07-17 at 09:56 -0700, Alexei Starovoitov wrote:
> On Sun, Jul 16, 2023 at 6:39 PM Eduard Zingerman <eddyz87@xxxxxxxxx> wrote:
> > - I've looked through the usage of BPF_LDX and found that there
> >  is a function seccomp.c:seccomp_check_filter(), that directly
> >  checks possible CLASS / CODE combinations. Should this function
> >  be updated to handle new instructions?
> 
> This is classic bpf. Why would it change? What is the concern?

Sorry, I missed the call to `bpf_check_classic()` in filter.c:bpf_prepare_filter().





[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