Skip to content

bpf: Misc improvements and a new usage on bpf obj name

Martin KaFai Lau netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3bpf: Change bpf_obj_name_cpy() to better ensure map's name is init by 0kernel/bpf/syscall.c+2 -30 replies
2/3bpf: Use char in prog and map nameinclude/linux/bpf.h include/uapi/linux/bpf.h tools/include/uapi/linux/bpf.h+10 -100 replies
3/3bpf: Append prog->aux->name in bpf_get_prog_name()kernel/bpf/core.c+15 -20 replies

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchDaniel BorkmannAlexei Starovoitov
1/3A-b
2/3A-b A-b
3/3A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/3] bpf: Misc improvements and a new usage on bpf obj name

The first two patches make improvements on the bpf obj name.

The last patch adds the prog name to kallsyms.

Martin KaFai Lau (3):
bpf: Change bpf_obj_name_cpy() to better ensure map's name is init by

    0

bpf: Use char in prog and map name
bpf: Append prog->aux->name in bpf_get_prog_name()

 include/linux/bpf.h            |  4 ++--
 include/uapi/linux/bpf.h       |  8 ++++----
 kernel/bpf/core.c              | 17 +++++++++++++++--
 kernel/bpf/syscall.c           |  5 ++---
 tools/include/uapi/linux/bpf.h |  8 ++++----
 5 files changed, 27 insertions(+), 15 deletions(-)
Signature · 1 line
2.9.5