Revert "bpfloader: Android V requires kernel 4.19+"

This reverts commit 6002cbedb1.

Reason for revert: culprit for b/291299507 verified with go/abtd:
https://android-build.googleplex.com/builds/abtd/run/L80200000961962770

Change-Id: I6de87b59ad1d90fd7449ea78a8beafe48ac8d738
This commit is contained in:
Sebastian Pickl 2023-07-14 20:07:11 +00:00
parent 6002cbedb1
commit 2733d97683

View file

@ -251,11 +251,6 @@ int main(int argc, char** argv) {
(void)argc; (void)argc;
android::base::InitLogging(argv, &android::base::KernelLogger); 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. // Ensure we can determine the Android build type.
if (!android::bpf::isEng() && !android::bpf::isUser() && !android::bpf::isUserdebug()) { if (!android::bpf::isEng() && !android::bpf::isUser() && !android::bpf::isUserdebug()) {
ALOGE("Failed to determine the build type: got %s, want 'eng', 'user', or 'userdebug'", ALOGE("Failed to determine the build type: got %s, want 'eng', 'user', or 'userdebug'",