bpfRingbufProg: use named values not raw true/false values.
Test: TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: Idd8055d823d98d8d0e2b3fe26246edc0c457e16b
This commit is contained in:
parent
f8c974e7f4
commit
4038b8f63e
1 changed files with 3 additions and 2 deletions
|
@ -21,8 +21,9 @@
|
||||||
#define TEST_RINGBUF_MAGIC_NUM 12345
|
#define TEST_RINGBUF_MAGIC_NUM 12345
|
||||||
|
|
||||||
// This ring buffer is for testing purposes only.
|
// 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, "", "", PRIVATE,
|
||||||
BPFLOADER_MIN_VER, BPFLOADER_MAX_VER, false, false, false);
|
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
|
// This program is for test purposes only - it should never be attached to a
|
||||||
// socket, only executed manually with BPF_PROG_RUN.
|
// socket, only executed manually with BPF_PROG_RUN.
|
||||||
|
|
Loading…
Reference in a new issue