Skip to content

libbpf: rename bpf_prog_attach_xattr to bpf_prog_attach_opts

Christy Lee bpf 3 versions – Applied

Status from this message: This series was applied to bpf/bpf-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest2 patches 0 repliesApplied 2/2
  2. v22 patches 0 repliesSuperseded
  3. v11 patch 1 replySuperseded

Changes in v3 from the cover letter

Patches in v3 All 2 applied

#Subject and filesSizeRepliesApplied
1/2libbpf: rename bpf_prog_attach_xattr() to bpf_prog_attach_opts()tools/lib/bpf/bpf.c tools/lib/bpf/bpf.h tools/lib/bpf/libbpf.map+12 -20 repliesApplied
2/2selftests/bpf: change bpf_prog_attach_xattr() to bpf_prog_attach_opts()tools/testing/selftests/bpf/prog_tests/cgroup_attach_multi.c+6 -60 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH bpf-next v3 0/2] libbpf: rename bpf_prog_attach_xattr to bpf_prog_attach_opts

All xattr APIs are being dropped, mark bpf_prog_attach_opts() as deprecated and rename to bpf_prog_attach_xattr(). Replace all usages of the deprecated function with the new function name.

[0] Closes: https://github.com/libbpf/libbpf/issues/285

Changelog:
----------
v2 -> v3:
https://lore.kernel.org/all/[email protected]/

* Fixed build break

v1 -> v2:
https://lore.kernel.org/all/[email protected]/

* Used alias instead of returning original function
* Split out selftests to a different commit

Christy Lee (2):
libbpf: rename bpf_prog_attach_xattr() to bpf_prog_attach_opts() selftests/bpf: change bpf_prog_attach_xattr() to
bpf_prog_attach_opts()

 tools/lib/bpf/bpf.c                                  |  9 +++++++--
 tools/lib/bpf/bpf.h                                  |  4 ++++
 tools/lib/bpf/libbpf.map                             |  1 +
 .../selftests/bpf/prog_tests/cgroup_attach_multi.c   | 12 ++++++------
 4 files changed, 18 insertions(+), 8 deletions(-)

--
2.30.2