summaryrefslogtreecommitdiff
path: root/progs/bpfRingbufProg.c
diff options
context:
space:
mode:
Diffstat (limited to 'progs/bpfRingbufProg.c')
-rw-r--r--progs/bpfRingbufProg.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/progs/bpfRingbufProg.c b/progs/bpfRingbufProg.c
index cbf9104..dec1615 100644
--- a/progs/bpfRingbufProg.c
+++ b/progs/bpfRingbufProg.c
@@ -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.