android_packages_modules_Co.../bpf/tests/mts
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Maciej Żenczykowski 83d5ad1d85 NetBpfLoad: create/populate/pin kernel bugs bpf array
This is an array of two ints:
- index 0 should have value 0
  (a value of 1 implies a kernel uapi bug)
- index 1 should have value 123
  (a value of 0 implies bpf array writes at non-zero index fail)

Note that these bugs can only be present on Android S & Sv2,
as these kernel bugs are considered fatal on Android T+.

(btw. we need to do this write manually as we cannot write into
maps we pin and then reopen - due to sepolicy)

Test: TreeHugger
Flag: EXEMPT mainline
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I9b2ada7f3e299014d39461a8d0718396daf0c91a
2025-06-17 01:49:23 -07:00
..
Android.bp bpf: git mv tests/mts bpf/tests/mts 2024-08-26 16:19:48 -07:00
bpf_existence_test.cpp NetBpfLoad: create/populate/pin kernel bugs bpf array 2025-06-17 01:49:23 -07:00
OWNERS bpf: git mv tests/mts bpf/tests/mts 2024-08-26 16:19:48 -07:00