[PATCH v2 0/6] bpf: Updates for Linux v5.16
Dmitry V. Levin
ldv at altlinux.org
Fri Dec 31 14:25:05 UTC 2021
On Thu, Dec 30, 2021 at 11:58:48AM +0100, Paul Chaignon wrote:
> This patchset updates the existing bpf(2) commands and adds support for
> new fields and constants.
>
> Changes in v2:
> - Reorder entries in NEWS according to tradition.
> - Add missing ATTRIBUTE_ALIGNED(8) annotations for new fields.
> - Update expected_bpf_prog_info_struct_size.
>
> Paul Chaignon (6):
> bpf: update BPF_* constants
> bpf: implement decoding of BPF_MAP_CREATE map_extra field
> bpf: implement decoding of BPF_PROG_LOAD fd_array field
> bpf: support new fields for BPF_PROG_TEST_RUN
> bpf: support commands BPF_LINK_GET_*_ID
> bpf: add support for new fields in struct bpf_prog_info
>
> NEWS | 5 +++
> src/bpf.c | 55 ++++++++++++++++++++++++++++++++
> src/bpf_attr.h | 33 ++++++++++++++-----
> src/xlat/bpf_attach_type.in | 1 +
> src/xlat/bpf_map_types.in | 1 +
> src/xlat/bpf_test_run_flags.in | 1 +
> tests/bpf-obj_get_info_by_fd.c | 13 ++++++++
> tests/bpf.c | 58 ++++++++++++++++++++++++++++------
> tests/kernel_version.c | 3 +-
> 9 files changed, 151 insertions(+), 19 deletions(-)
> create mode 100644 src/xlat/bpf_test_run_flags.in
Merged, thanks!
--
ldv
More information about the Strace-devel
mailing list