]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/bpf: Change bpf_prog_attach_xattr() to bpf_prog_attach_opts()
authorChristy Lee <christylee@fb.com>
Fri, 7 Jan 2022 18:46:04 +0000 (10:46 -0800)
committerAndrii Nakryiko <andrii@kernel.org>
Thu, 13 Jan 2022 01:01:37 +0000 (17:01 -0800)
commita87c8f0b8fc0960366dc9048ec4a17f4b5f264ca
tree454d715af3aa1c6ae358f22c32584b34f9e96ab0
parent58bb854d44bfa428b6c135e8e8f1a44f88d8a573
selftests/bpf: Change bpf_prog_attach_xattr() to bpf_prog_attach_opts()

bpf_prog_attach_opts() is being deprecated and renamed to
bpf_prog_attach_xattr(). Change all selftests/bpf's uage to the new name.

Signed-off-by: Christy Lee <christylee@fb.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20220107184604.3668544-3-christylee@fb.com
tools/testing/selftests/bpf/prog_tests/cgroup_attach_multi.c