On Mon, Sep 14, 2020 at 11:37 AM Stanislav Fomichev <s...@google.com> wrote: > > From: YiFei Zhu <zhuyi...@google.com> > > The patch adds a simple wrapper bpf_prog_bind_map around the syscall. > When the libbpf tries to load a program, it will probe the kernel for > the support of this syscall and unconditionally bind .rodata section > to the program. > > Cc: YiFei Zhu <zhuyifei1...@gmail.com> > Signed-off-by: YiFei Zhu <zhuyi...@google.com> > Signed-off-by: Stanislav Fomichev <s...@google.com> > ---
Acked-by: Andrii Nakryiko <andr...@fb.com> > tools/lib/bpf/bpf.c | 16 +++++++++ > tools/lib/bpf/bpf.h | 8 +++++ > tools/lib/bpf/libbpf.c | 72 ++++++++++++++++++++++++++++++++++++++++ > tools/lib/bpf/libbpf.map | 1 + > 4 files changed, 97 insertions(+) > [...]