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:   Tue, 27 Jun 2017 23:08:33 -0700
From:   Martin KaFai Lau <kafai@...com>
To:     <netdev@...r.kernel.org>
CC:     Daniel Borkmann <daniel@...earbox.net>,
        Alexei Starovoitov <ast@...com>, <kernel-team@...com>
Subject: [PATCH net-next 0/2] bpf: Add syscall lookup support for fd array and htab

This patchset adds BPF_MAP_LOOKUP_ELEM syscall support for
BPF_MAP_TYPE_PROG_ARRAY,
BPF_MAP_TYPE_ARRAY_OF_MAPS and
BPF_MAP_TYPE_HASH_OF_MAPS

Martin KaFai Lau (2):
  bpf: Add syscall lookup support for fd array and htab
  bpf: Add test for syscall on fd array/htab lookup

 include/linux/bpf.h                |  3 +++
 kernel/bpf/arraymap.c              | 27 +++++++++++++++++++++++++++
 kernel/bpf/hashtab.c               | 21 +++++++++++++++++++++
 kernel/bpf/map_in_map.c            |  5 +++++
 kernel/bpf/map_in_map.h            |  1 +
 kernel/bpf/syscall.c               | 16 +++++++++++++---
 samples/bpf/sockex3_user.c         | 15 ++++++++++++++-
 samples/bpf/test_map_in_map_user.c | 17 +++++++++++++++++
 8 files changed, 101 insertions(+), 4 deletions(-)

-- 
2.9.3

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ