[PATCH 0/2] bpf: Updates for Linux 5.7

Paul Chaignon paul at isovalent.com
Mon Apr 13 09:27:01 UTC 2020


The first patch adds three new BPF_* constants related to the new
BPF-based LSM.  The second patch adds the new BPF_LINK_{CREATE,UPDATE}
commands, used to attach cgroup BPF programs.

Paul Chaignon (2):
  bpf: update BPF_* constants
  bpf: support new commands BPF_LINK_{CREATE,UPDATE}

 NEWS                    |  5 ++++
 bpf.c                   | 23 +++++++++++++++
 bpf_attr.h              | 22 +++++++++++++++
 tests/bpf.c             | 62 ++++++++++++++++++++++++++++++++++++-----
 tests/kernel_version.c  |  6 ++--
 xlat/bpf_attach_type.in |  2 ++
 xlat/bpf_commands.in    |  2 ++
 xlat/bpf_prog_types.in  |  1 +
 8 files changed, 113 insertions(+), 10 deletions(-)

-- 
2.20.1



More information about the Strace-devel mailing list