bpfRingbufProg: use named values not raw true/false values. am: 4038b8f63e am: e494e48e6d am: f6848a8d3c am: 1acdaea2af am: 5e323c5d90

Original change: https://android-review.googlesource.com/c/platform/system/bpf/+/2777856

Change-Id: Ic6aea223ff037475178f67dfea5495bff67b031f
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Maciej Żenczykowski 2023-10-07 08:23:48 +00:00 committed by Automerger Merge Worker
commit a6aea69ee7

View file

@ -21,8 +21,9 @@
#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,
BPFLOADER_MIN_VER, BPFLOADER_MAX_VER, false, false, false);
DEFINE_BPF_RINGBUF_EXT(test_ringbuf, __u64, 4096, AID_ROOT, AID_ROOT, 0660, "", "", PRIVATE,
BPFLOADER_MIN_VER, BPFLOADER_MAX_VER,
LOAD_ON_ENG, LOAD_ON_USER, LOAD_ON_USERDEBUG);
// This program is for test purposes only - it should never be attached to a
// socket, only executed manually with BPF_PROG_RUN.