abort() if neither tethering flag is present am: 2ab4dbe471
Original change: https://android-review.googlesource.com/c/platform/system/bpf/+/2160696 Change-Id: I8bbe036cd3fc378f66f242712e813c5febc125f6 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
549dfb3e06
1 changed files with 2 additions and 4 deletions
|
@ -74,10 +74,8 @@ bool isInProcessTethering() {
|
|||
if (in) return true;
|
||||
if (out) return false;
|
||||
|
||||
// Backup handling for older tethering modules, which don't have a flag,
|
||||
// just assume it's not in process. We could potentially just abort()
|
||||
// here, but what if there isn't even a tethering module installed?
|
||||
return false;
|
||||
ALOGE("FATAL: cannot determine if Tethering is in or out of process.");
|
||||
abort();
|
||||
}
|
||||
|
||||
constexpr unsigned long long kTetheringApexDomainBitmask =
|
||||
|
|
Loading…
Reference in a new issue