summaryrefslogtreecommitdiff
path: root/server/InterfaceController.cpp
diff options
context:
space:
mode:
authorSreeram Ramachandran <sreeram@google.com>2014-05-22 14:21:49 -0700
committerSreeram Ramachandran <sreeram@google.com>2014-05-30 18:27:40 +0000
commit82eab785bd5cb2eff0a263f5b0dcde13e9139588 (patch)
tree76c295e087df8391bee5d452728c5efe99e2f17e /server/InterfaceController.cpp
parentce8f583ff6620a19602d3c4604557e1b1501cafa (diff)
Support legacy routes added by apps via ensureRouteToHost().
This adds the routes to two fixed tables: + LEGACY, which has higher priority than other non-explicit lookup tables (per-network and default network). + PRIVILEGED_LEGACY, available only to system apps and has higher priority than VPNs (system apps are those with the CONNECTIVITY_INTERNAL permission). This will be changed to per-UID tables once the kernel supports UID-based routing, so that these legacy routes are scoped to each app and not global. Also, fix a TODO: The framework (as of http://ag/471599) will not set the gateway argument if it's actually a direct-connected route. Change-Id: I0ee1ca89fdc859d75a89021ca8c1902811b1e4a9 (cherry picked from commit 38b7af1f2cb9579895465fabc37865f5dadcac25)
Diffstat (limited to 'server/InterfaceController.cpp')
0 files changed, 0 insertions, 0 deletions