OSDN Git Service

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)
commitce7875473324729b07661e588ac0c44862efbb0f
tree454d715af3aa1c6ae358f22c32584b34f9e96ab0
parentd6c9c24e891216890264320f5534051fd196ace8
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