Update bpf helpers to support new ignore_on fields

This change updates callers to include the new ignore_on and bpfloader
arguments as per the change in aosp/2374598.

Bug: 246985031
Test: tethering build & install, full platform build & install
Change-Id: I4cebc82ed596cfb55c30325b30cff160da9514cd
This commit is contained in:
Ryan Zuklie 2023-01-04 18:01:28 -08:00
parent 0fb433a965
commit b41a3cfd4e

View file

@ -21,7 +21,8 @@
#define TEST_RINGBUF_MAGIC_NUM 12345
// This ring buffer is for testing purposes only.
DEFINE_BPF_RINGBUF_EXT(test_ringbuf, __u64, 4096, AID_ROOT, AID_ROOT, 0660, "", "", false);
DEFINE_BPF_RINGBUF_EXT(test_ringbuf, __u64, 4096, AID_ROOT, AID_ROOT, 0660, "", "", false,
BPFLOADER_MIN_VER, BPFLOADER_MAX_VER, false, false, false);
// This program is for test purposes only - it should never be attached to a
// socket, only executed manually with BPF_PROG_RUN.