From b41a3cfd4e2a2f61efde37cef69b6d6d4fa24899 Mon Sep 17 00:00:00 2001 From: Ryan Zuklie Date: Wed, 4 Jan 2023 18:01:28 -0800 Subject: [PATCH] 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 --- progs/bpfRingbufProg.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/progs/bpfRingbufProg.c b/progs/bpfRingbufProg.c index 99b8345..cbf9104 100644 --- a/progs/bpfRingbufProg.c +++ b/progs/bpfRingbufProg.c @@ -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.