From 2733d9768303c3fa1e217b1fa0977276be611a27 Mon Sep 17 00:00:00 2001 From: Sebastian Pickl Date: Fri, 14 Jul 2023 20:07:11 +0000 Subject: [PATCH] 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 --- bpfloader/BpfLoader.cpp | 5 ----- 1 file changed, 5 deletions(-) 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 @@ int main(int argc, char** argv) { (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'",