remove inprocess tethering am: e15e91ea0d am: 72bc068da9

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

Change-Id: If6a10bb2bcb2d877d97e05a0379d5596b6b6f065
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Maciej Żenczykowski 2023-05-15 18:37:06 +00:00 committed by Automerger Merge Worker
commit 2a6a6f7b5b

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)