Skip to content

BPF updates

Daniel Borkmann netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4net: filter: add a callback to allow classic post-verifier transformationsinclude/linux/filter.h net/core/filter.c+21 -31 reply
2/4seccomp: simplify seccomp_prepare_filter and reuse bpf_prepare_filterinclude/linux/filter.h kernel/seccomp.c net/core/filter.c+26 -541 reply
3/4net: filter: add __GFP_NOWARN flag for larger kmem allocsnet/core/filter.c+6 -31 reply
4/4seccomp, filter: add and use bpf_prog_create_from_user from seccompinclude/linux/filter.h kernel/seccomp.c net/core/filter.c+66 -391 reply

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchAlexei Starovoitov
1/4A-b
2/4A-b
3/4A-b
4/4A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/4] BPF updates

This set gets rid of BPF special handling in seccomp filter preparation and provides generic infrastructure from BPF side, which eventually also allows for classic BPF JITs to add support for seccomp filters.

Daniel Borkmann (2):
net: filter: add __GFP_NOWARN flag for larger kmem allocs seccomp, filter: add and use bpf_prog_create_from_user from seccomp

Nicolas Schichan (2):
net: filter: add a callback to allow classic post-verifier transformations
seccomp: simplify seccomp_prepare_filter and reuse bpf_prepare_filter

 include/linux/filter.h | 10 +++---
 kernel/seccomp.c       | 70 +++++++++---------------------------------
 net/core/filter.c      | 82 ++++++++++++++++++++++++++++++++++++++++++++------
 3 files changed, 91 insertions(+), 71 deletions(-)
Signature · 1 line
1.9.3