lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 26 Jul 2018 14:32:17 -0700
From:   Jakub Kicinski <jakub.kicinski@...ronome.com>
To:     alexei.starovoitov@...il.com, daniel@...earbox.net
Cc:     oss-drivers@...ronome.com, netdev@...r.kernel.org,
        Jakub Kicinski <jakub.kicinski@...ronome.com>
Subject: [PATCH bpf-next 0/4] samples: bpf: convert two more samples to libbpf

Hi!

This set converts xdpsock_user.c and xdp_fwd_user.c to use libbpf instead
of bpf_load.o.  First two patches are minor improvements to libbpf to make
the conversion (and use of libbpf in general) nicer.

Jakub Kicinski (4):
  tools: libbpf: handle NULL program gracefully in bpf_program__nth_fd()
  tools: libbpf: add bpf_object__find_program_by_title()
  samples: bpf: convert xdp_fwd_user.c to libbpf
  samples: bpf: convert xdpsock_user.c to libbpf

 samples/bpf/Makefile       |  4 ++--
 samples/bpf/xdp_fwd_user.c | 34 +++++++++++++++++++++++-----------
 samples/bpf/xdpsock_user.c | 38 +++++++++++++++++++++++++++++---------
 tools/lib/bpf/libbpf.c     | 15 +++++++++++++++
 tools/lib/bpf/libbpf.h     |  3 +++
 5 files changed, 72 insertions(+), 22 deletions(-)

-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ