No description. Add one?
  • C 52.6%
  • Rust 25.3%
  • C++ 22.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Maciej Żenczykowski 265d1310ec grant bpfloader NET_ADMIN capability
This is required for it to be able to create DEVMAP/DEVMAP_HASH maps.

See kernel source code in kernel/bpf/devmap.c:
  static struct bpf_map *dev_map_alloc(union bpf_attr *attr) {
    ...
    if (!capable(CAP_NET_ADMIN)) return ERR_PTR(-EPERM);

Test: atest, TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I4f3012209186ff0e4bde8807b9032de056367132
2021-03-03 03:28:22 +00:00
bpfloader grant bpfloader NET_ADMIN capability 2021-03-03 03:28:22 +00:00
libbpf_android make failure on map creation returns -errno 2021-03-02 07:46:32 +00:00
progs KVER macro - support 4.9.256+ kernel 2021-02-11 16:05:21 -08:00
.clang-format Replace clang-format with symlink. 2019-01-18 14:26:33 -08:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to system/bpf 2021-02-05 01:28:19 -08:00
NOTICE Fix the build problem with bpf project 2018-10-16 21:17:12 -07:00
OWNERS OWNERS: +smoreland +connoro -fengc -joelaf 2020-01-10 15:42:06 -08:00
PREUPLOAD.cfg Fix the build problem with bpf project 2018-10-16 21:17:12 -07:00