[PATCH 0/4] bpf: new fields, constants, and commands

Paul Chaignon paul.chaignon at gmail.com
Sun Feb 23 10:12:15 UTC 2020


This patchset adds support for new fields in BPF_MAP_CREATE and
BPF_PROG_ATTACH, for new constants (including program types, flags, and
map types), and for the new BPF_MAP_*_BATCH commands.

Paul Chaignon (4):
  bpf: support new field for BPF_MAP_CREATE
  bpf: update BPF constants
  bpf: support new field for BPF_PROG_ATTACH
  bpf: support new commands BPF_MAP_*_BATCH

 NEWS                           |  6 ++++
 bpf.c                          | 39 ++++++++++++++++++++
 bpf_attr.h                     | 30 ++++++++++++++--
 tests/bpf-obj_get_info_by_fd.c |  4 +++
 tests/bpf.c                    | 65 +++++++++++++++++++++++++---------
 tests/kernel_version.c         |  6 ++--
 xlat/bpf_attach_flags.in       |  5 +--
 xlat/bpf_commands.in           |  4 +++
 xlat/bpf_map_types.in          |  1 +
 xlat/bpf_prog_types.in         |  2 ++
 10 files changed, 138 insertions(+), 24 deletions(-)

-- 
2.20.1



More information about the Strace-devel mailing list