Re: [PATCH bpf-next v4 2/3] bpf: Report arena faults to BPF stderr

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

 



On Mon, Sep 1, 2025 at 3:45 PM Kumar Kartikeya Dwivedi <memxor@xxxxxxxxx> wrote:
>
>
> Additionally, I feel the extra pointer is unnecessary. Instead, the
> logic to jump to the main prog from the subprog can be (if I didn't
> miss anything):
>
> prog->aux->func ? prog->aux->func[0]->aux ? prog-aux
>
> When prog->aux->func is not set, that means there are no subprogs. I
> would simply wrap this logic in bpf_main_prog_aux or something.

Good point. Forgot about this one.





[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