diff options
| author | Chenbo Feng <fengc@google.com> | 2018-03-21 10:29:18 -0700 |
|---|---|---|
| committer | Chenbo Feng <fengc@google.com> | 2018-04-12 11:58:26 -0700 |
| commit | 89c12f13e3fb31f1a46f3ea5aeef331b0c9eda45 (patch) | |
| tree | 5375cbf5849db5a9c4022c5473c93bebf1092ae4 /server/FirewallControllerTest.cpp | |
| parent | 05827de37e5413d165bf655bdfd13e3d49c906d1 (diff) | |
Add xt_owner module support in trafficController
Add bpf maps for recording rules about socket owner uid filtering.
Modified the bpf program so that packets with uid listed in the
the uidOwnerMap will get handled according to userspace settings
Test: bpf program can be loaded and attached when boot
Bug: 72381727 30950746
Change-Id: I39497334fcb5e200dbf07a0046b85c227d59e2d7
Diffstat (limited to 'server/FirewallControllerTest.cpp')
| -rw-r--r-- | server/FirewallControllerTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/server/FirewallControllerTest.cpp b/server/FirewallControllerTest.cpp index c1f43eb7..952b21e8 100644 --- a/server/FirewallControllerTest.cpp +++ b/server/FirewallControllerTest.cpp @@ -35,6 +35,7 @@ class FirewallControllerTest : public IptablesBaseTest { protected: FirewallControllerTest() { FirewallController::execIptablesRestore = fakeExecIptablesRestore; + mFw.mUseBpfOwnerMatch = false; } FirewallController mFw; |
