[PATCH 0/6] bpf: Updates for Linux v5.16

Paul Chaignon paul at isovalent.com
Wed Dec 29 18:23:55 UTC 2021


This patchset updates the existing bpf(2) commands and adds support for
new fields and constants.

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                 | 31 ++++++++++++++----
 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, 150 insertions(+), 18 deletions(-)
 create mode 100644 src/xlat/bpf_test_run_flags.in

-- 
2.25.1



More information about the Strace-devel mailing list