> > You should be able to write a small userspace program that opens the > pinned maps and uses those file descriptors to create or fixup an eBPF > program from any source (elf or not), so long as you have a way to > tell which instructions need to be fixed up. (ELF puts this > information into the relocation sections.) > What I am really trying to do is to be able to access an eBPF hashmap or array created and pinned by a userspace program *after* the bpf program has been loaded, from the bpf code. Looks like this has not been implemented? If maps can be made persistent from userspace, but the kernel side bpf can't quite access it, it doesn't make much sense :( (I understand userspace<->userspace can access these maps, but kernel side should be able to as well)