GSoC question

Dmitry V. Levin ldv at altlinux.org
Fri Sep 23 17:15:54 UTC 2022


On Fri, Sep 23, 2022 at 11:59:37PM +0800, SuHsueyu wrote:
> Like the BEGIN_BPF_CMD_DECODER(BPF_MAP_LOOKUP_ELEM) in src/bpf.c, the
> parameter "struct BPF_MAP_LOOKUP_ELEM_struct attr" have a field map_fd

OK, but I still don't follow, what do you mean when you are saying that
union bpf_attr.map_fd "may differ under tracee and tracer"?


-- 
ldv


More information about the Strace-devel mailing list