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]
Message-Id: <20181210234302.31327-1-guro@fb.com>
Date:   Mon, 10 Dec 2018 15:42:59 -0800
From:   Roman Gushchin <guroan@...il.com>
To:     netdev@...r.kernel.org
Cc:     kernel-team@...com, linux-kernel@...r.kernel.org,
        Yonghong Song <yhs@...com>, Martin Lau <kafai@...com>,
        Roman Gushchin <guro@...com>
Subject: [PATCH v2 bpf-next 0/3] bpffs pretty print for cgroup local storage

This patchset implements bpffs pretty printing for cgroup local storage maps.

v2->v1:
  - fixed size checks in cgroup_storage_check_btf(),
  based on input from Yonghong and Martin
  - implemented and used btf_type_is_reg_int(), suggested by Martin

Roman Gushchin (3):
  bpf: pass struct btf pointer to the map_check_btf() callback
  bpf: add bpffs pretty print for cgroup local storage maps
  selftests/bpf: add btf annotations for cgroup_local_storage maps

 include/linux/bpf.h                       |  3 +
 include/linux/btf.h                       |  1 +
 kernel/bpf/arraymap.c                     |  1 +
 kernel/bpf/btf.c                          | 22 ++++++
 kernel/bpf/local_storage.c                | 93 ++++++++++++++++++++++-
 kernel/bpf/lpm_trie.c                     |  1 +
 kernel/bpf/syscall.c                      |  3 +-
 tools/testing/selftests/bpf/netcnt_prog.c |  6 ++
 8 files changed, 128 insertions(+), 2 deletions(-)

-- 
2.19.2

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ