Skip to content
Snippets Groups Projects
Commit e7ceb1dc authored by Maciej Żenczykowski's avatar Maciej Żenczykowski Committed by Gerrit Code Review
Browse files

Merge "netbpfload: V+ x86 require 64-bit kernel" into main

parents 60a657f4 7f6a4267
No related branches found
No related tags found
No related merge requests found
......@@ -301,6 +301,11 @@ int main(int argc, char** argv, char * const envp[]) {
return 1;
}
if (isAtLeastV && android::bpf::isX86() && !android::bpf::isKernel64Bit()) {
ALOGE("Android V requires X86 kernel to be 64-bit.");
return 1;
}
if (android::bpf::isUserspace32bit() && android::bpf::isAtLeastKernelVersion(6, 2, 0)) {
/* Android 14/U should only launch on 64-bit kernels
* T launches on 5.10/5.15
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment