On Thu, Feb 8, 2024 at 10:55 AM Andrii Nakryiko <andrii.nakryiko@xxxxxxxxx> wrote: > > You mean when doing this from SYSCALL program? both. regular syscall too. > > > > Looks like we have fixes to do anyway :( > > Yeah, it's kind of weird to first read key/value "memory", and then > getting -ENOTSUP for maps that don't support lookup/update. We should > error out sooner. it's all over the place. Probably better to hack bpf_map_value_size() to never return 0.