From: Christy Lee <christylee@fb.com>
To: <andrii@kernel.org>, <acme@kernel.org>
Cc: <christylee@fb.com>, <christyc.y.lee@gmail.com>,
<bpf@vger.kernel.org>, <kernel-team@fb.com>
Subject: [PATCH bpf-next v3 0/2] libbpf: rename bpf_prog_attach_xattr to bpf_prog_attach_opts
Date: Fri, 7 Jan 2022 10:46:02 -0800 [thread overview]
Message-ID: <20220107184604.3668544-1-christylee@fb.com> (raw)
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/20220106234639.1418484-2-christylee@fb.com/
* Fixed build break
v1 -> v2:
https://lore.kernel.org/all/20211230000110.1068538-1-christylee@fb.com/
* 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
next reply other threads:[~2022-01-07 18:46 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-07 18:46 Christy Lee [this message]
2022-01-07 18:46 ` [PATCH bpf-next v3 1/2] libbpf: rename bpf_prog_attach_xattr() to bpf_prog_attach_opts() Christy Lee
2022-01-07 18:46 ` [PATCH bpf-next v3 2/2] selftests/bpf: change " Christy Lee
2022-01-07 22:00 ` [PATCH bpf-next v3 0/2] libbpf: rename bpf_prog_attach_xattr to bpf_prog_attach_opts patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220107184604.3668544-1-christylee@fb.com \
--to=christylee@fb.com \
--cc=acme@kernel.org \
--cc=andrii@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=christyc.y.lee@gmail.com \
--cc=kernel-team@fb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.