On Mon, Jan 07, 2019 at 03:07:09PM +0000, 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 corresponding code for this in libbpf.
since the user process was suspended while loading the loader should retry. I think libbpf should do it unconditionally in bpf_load_program_xattr(). Patches are welcome :)