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 3adb1d5569 rename SEC() to SECTION()
The only purpose of this is to break cut-and-paste of examples
that use SEC() causing people to think things through, look
at Android bpf program examples and use a better macro.

In particular programs with SEC("license") / SEC("maps") need to be
changed to use LICENSE("license") and the map helpers or the map
section is wrong and cannot be correctly parsed by the bpfloader.

Generated via:
  git grep 'SEC\(' | cut -d: -f1-2 | while read i; do mcedit $i; done
and manually editting found locations

Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: Idb333967e054e096fe74f910a5f8aaf1d6c5dc81
2021-11-18 05:45:21 +00:00
bpfloader bpfloader.rc: set /proc/sys/kernel/unprivileged_bpf_disabled to 0 2021-11-11 01:53:39 +00:00
libbpf_android rename SEC() to SECTION() 2021-11-18 05:45:21 +00:00
progs rename SEC() to SECTION() 2021-11-18 05:45:21 +00: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