BpfUtils - remove some spurious things
Test: builds
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I4ffa11220794d64c324d9de8890ba27cac986710
diff --git a/libbpf_android/BpfUtils.cpp b/libbpf_android/BpfUtils.cpp
index d7f5c9b..3fc7cc9 100644
--- a/libbpf_android/BpfUtils.cpp
+++ b/libbpf_android/BpfUtils.cpp
@@ -86,8 +86,8 @@
int setrlimitForTest() {
// Set the memory rlimit for the test process if the default MEMLOCK rlimit is not enough.
struct rlimit limit = {
- .rlim_cur = TEST_LIMIT,
- .rlim_max = TEST_LIMIT,
+ .rlim_cur = 8388608, // 8 MiB
+ .rlim_max = 8388608, // 8 MiB
};
int res = setrlimit(RLIMIT_MEMLOCK, &limit);
if (res) {