Re: Handling of EAGAIN from BPF verifier

2019-01-07 Thread Alexei Starovoitov
On Mon, Jan 07, 2019 at 03:07:09PM +, Lorenz Bauer wrote: > Hi, > > Commit "bpf: check pending signals while verifying programs" makes the > bpf syscall return EAGAIN for BPF_PROG_LOAD. How should user space > react to this? The error sounds like it should retry, but I couldn't > find the corr

Handling of EAGAIN from BPF verifier

2019-01-07 Thread Lorenz Bauer
Hi, Commit "bpf: check pending signals while verifying programs" makes the bpf syscall return EAGAIN for BPF_PROG_LOAD. How should user space react to this? The error sounds like it should retry, but I couldn't find the corresponding code for this in libbpf. Best Lorenz -- Lorenz Bauer | Syst