diff options
author | Maciej Żenczykowski <maze@google.com> | 2022-06-13 22:53:58 -0700 |
---|---|---|
committer | Maciej Żenczykowski <maze@google.com> | 2022-06-14 20:33:02 -0700 |
commit | acfd2041ce52f25dd5c5a0cafaf4572d7a634f63 (patch) | |
tree | 9ac0c1cdbbb7ede032cb9dea9029a00c3061cbe3 /Android.bp | |
parent | 38e049f7f434ace9f977a7a72e939558e5f373a9 (diff) | |
download | netd-acfd2041ce52f25dd5c5a0cafaf4572d7a634f63.tar.gz |
move definition of xt_bpf program pin locations to system/netd
As this ends up built in to the netd binary, and should thus
not be pulling in mainline (and thus mutable) header files.
We could technically export the path out of the netd_updatable.so,
but there is no benefit to doing so.
This is because the pin directory is determined by selinux access
having to make these available to netd & iptables (netdutils_wrappers),
and the entire structure of the iptables setup (ie. chains, etc) is
already entirely left up to netd.
Thus the only meaningful thing mainline could do here is rename
the programs (while maintaining their behaviour) but that provides
absolutely no value.
(If the programs are missing, then bandwidth accounting fails,
and there is no way to add additional programs)
Bug: 235778483
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
Change-Id: I3c235d63b3695deb04564bb929913a9050b9fc10
Diffstat (limited to 'Android.bp')
-rw-r--r-- | Android.bp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -29,7 +29,9 @@ cc_library_headers { apex_available: [ "//apex_available:platform", "com.android.resolv", + "com.android.tethering", ], + sdk_version: "29", min_sdk_version: "29", } |