Go to file
Maciej Żenczykowski b43b14acdf BpfHandler: abort on U+ if unexpected cgroup mount path
This is defined here:
http://cs/h/android/platform/superproject/+/master:system/core/libprocessgroup/profiles/cgroups.json?l=27
and has been a constant since
  https://android-review.googlesource.com/c/platform/system/core/+/1324649
was merged back on August 21, 2020 (ie. Android S)

But currently there's no easy way to get at this constant
from mainline code... which means it's very difficult
to do any bpf cgroup attach/detach from mainline.

btw. this appears to also be already hardcoded in:
http://cs/h/android/platform/superproject/+/master:packages/modules/Connectivity/service/src/com/android/server/connectivity/ConnectivityNativeService.java?l=48
as well

Fix: 285432857
Test: TreeHugger
Signed-off-by: Maciej Żenczykowski <maze@google.com>
(cherry picked from https://android-review.googlesource.com/q/commit:65075bb8f8290125fbd0ce8ffc5aaab6bdb3284e)
Merged-In: I99f4a5a26dd10f6ea70bf73114af0d18098de630
Change-Id: I99f4a5a26dd10f6ea70bf73114af0d18098de630

Former-commit-id: ad9ff691c4
2023-06-02 06:38:57 +00:00
Cronet cronet import: do not jarjar J.cronet_tests_N 2023-05-26 19:47:43 +00:00
Tethering cronet: delete option to disable cronet in tm-mainline-prod 2023-05-26 19:44:22 +00:00
bpf_progs remove inprocess tethering 2023-05-08 21:15:43 +00:00
common Fix errorprone warnings that should be errors 2022-11-02 10:13:14 -07:00
framework DO not throw exception for ERROR_NO_SUCH_SLOT error 2023-05-23 07:16:21 +00:00
framework-t Remove the ServiceTypeClient after socket destroyed 2023-05-15 03:50:36 +00:00
nearby Check Sdk level before calling the DeviceConfig API 2023-06-01 13:36:51 -07:00
netd BpfHandler: abort on U+ if unexpected cgroup mount path 2023-06-02 06:38:57 +00:00
service Only allow libconnectivity_native usage on U+ 2023-05-31 05:50:31 +00:00
service-t Try to fix and diagnose Perfetto flush errors. 2023-06-01 22:43:00 +00:00
tests Add MdnsDiscoveryManager constructor without looper 2023-05-31 01:42:41 +00:00
tools gn2bp: delete obsolete version in p/m/C 2023-03-29 16:23:45 -07:00
.gitignore Add a .gitignore in packages/modules/Connectivity. 2020-11-27 18:09:21 +09:00
OWNERS Add additional IPsec owners 2021-12-08 06:57:51 +00:00
OWNERS_core_networking Cleanup OWNERS 2023-01-23 15:55:23 +00:00
OWNERS_core_networking_xts Allow jchalard@, maze@ and reminv@ to approve fixes for flaky tests. 2022-10-06 09:06:20 +00:00
PREUPLOAD.cfg Enable tethering to perform its own hidden API processing 2021-06-28 23:41:38 +01:00
TEST_MAPPING [Cronet] Filter out large tests from presubmit 2023-04-03 18:10:01 +00:00