Skip to content

Commit

Permalink
remove inprocess tethering am: 48cd823 am: 8dce22a
Browse files Browse the repository at this point in the history
Original change: https://googleplex-android-review.googlesource.com/c/platform/system/bpf/+/23214402

Change-Id: I2953e6b44afad81b2a3ff02e0b5412476fb24a89
Signed-off-by: Automerger Merge Worker <[email protected]>
  • Loading branch information
zenczykowski authored and android-build-merge-worker-robot committed May 15, 2023
2 parents cc26668 + 8dce22a commit d30027e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions bpfloader/BpfLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,9 +258,6 @@ int main(int argc, char** argv) {
return 1;
}

// Tethering mainline module must provide this or U bpfloader will fail to boot.
if (!exists("/apex/com.android.tethering/etc/flag/out-of-process")) return 1;

// Linux 5.16-rc1 changed the default to 2 (disabled but changeable), but we need 0 (enabled)
// (this writeFile is known to fail on at least 4.19, but always defaults to 0 on pre-5.13,
// on 5.13+ it depends on CONFIG_BPF_UNPRIV_DEFAULT_OFF)
Expand Down

0 comments on commit d30027e

Please sign in to comment.