remove inprocess tethering am: e15e91ea0d

Original change: https://android-review.googlesource.com/c/platform/system/bpf/+/2589605

Change-Id: I0f5fe75cf3d1141684b8852ebd316630c93acce5
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Maciej Żenczykowski 2023-05-15 17:57:40 +00:00 committed by Automerger Merge Worker
commit 72bc068da9

View file

@ -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)