Revert "bpfloader: Android V requires kernel 4.19+"
This reverts commit 6002cbedb19aae0823196a1f66bd5976fe8717ab.
Reason for revert: culprit for b/291299507 verified with go/abtd:
https://android-build.googleplex.com/builds/abtd/run/L80200000961962770
Change-Id: I6de87b59ad1d90fd7449ea78a8beafe48ac8d738
diff --git a/bpfloader/BpfLoader.cpp b/bpfloader/BpfLoader.cpp
index e1dbd06..fe51ed5 100644
--- a/bpfloader/BpfLoader.cpp
+++ b/bpfloader/BpfLoader.cpp
@@ -251,11 +251,6 @@
(void)argc;
android::base::InitLogging(argv, &android::base::KernelLogger);
- if (!android::bpf::isAtLeastKernelVersion(4, 19, 0)) {
- ALOGE("Android V requires kernel 4.19.");
- return 1;
- }
-
// Ensure we can determine the Android build type.
if (!android::bpf::isEng() && !android::bpf::isUser() && !android::bpf::isUserdebug()) {
ALOGE("Failed to determine the build type: got %s, want 'eng', 'user', or 'userdebug'",