summaryrefslogtreecommitdiff
path: root/server/BandwidthControllerTest.cpp
diff options
context:
space:
mode:
authorChenbo Feng <fengc@google.com>2018-12-26 17:40:21 -0800
committerChenbo Feng <fengc@google.com>2019-01-29 19:24:36 -0800
commit48eaed3745017204667641bd71782674e032d682 (patch)
tree0d19e5c387e5c73320055ef4eef2b687a86f5e50 /server/BandwidthControllerTest.cpp
parent9a312dbe690c30591d4ca70dcf901934f289a997 (diff)
Use bpf maps to store permission information
In newer kernels, we can use cgroup socket filter to control inet socket creation at run time instead of paranoid network kernel check. To achieve that, we need to get the permission information from system server when device boots or new packages are installed. This patch provides a binder interface to do that and stores the information in a bpf map. It also records the uids that have permission UPDATE_DEVICE_STATS so netd no longer needs to query that from the system server. Bug: 111560570 Bug: 111560739 Test: netd_unit_test, netd_integration_test Change-Id: I0c5919d85136feec44c4406ee0bd0028b131b942
Diffstat (limited to 'server/BandwidthControllerTest.cpp')
0 files changed, 0 insertions, 0 deletions