mbox series

[bpf-next,0/2] BPF iterator for UNIX domain socket.

Message ID 20210729233645.4869-1-kuniyu@amazon.co.jp (mailing list archive)
Headers show
Series BPF iterator for UNIX domain socket. | expand

Message

Iwashima, Kuniyuki July 29, 2021, 11:36 p.m. UTC
This patch set adds BPF iterator support for UNIX domain socket.  The first
patch implements it and the second adds a selftest.


Kuniyuki Iwashima (2):
  bpf: af_unix: Implement BPF iterator for UNIX domain socket.
  selftest/bpf: Implement sample UNIX domain socket iterator program.

 include/linux/btf_ids.h                       |  3 +-
 net/unix/af_unix.c                            | 78 +++++++++++++++++++
 .../selftests/bpf/prog_tests/bpf_iter.c       | 17 ++++
 .../selftests/bpf/progs/bpf_iter_unix.c       | 75 ++++++++++++++++++
 4 files changed, 172 insertions(+), 1 deletion(-)
 create mode 100644 tools/testing/selftests/bpf/progs/bpf_iter_unix.c