commit | d794e580dbe1a8b4192850b0e117654401514af8 | [log] [tgz] |
---|---|---|
author | Sreeram Ramachandran <sreeram@google.com> | Thu Jun 19 10:03:07 2014 -0700 |
committer | Sreeram Ramachandran <sreeram@google.com> | Thu Jun 19 10:03:07 2014 -0700 |
tree | 89a6c77efea605e69cc22a33cee61d53c593f4a5 | |
parent | a561e121c724e9163b2e256e15eef660e3a326da [diff] |
Add a client API to protect a socket from VPNs. The server side hasn't been implemented yet (see FwmarkServer.cpp). A UID can only be in a single VPN at any time, so there's no need to specify a netId or vpnId. Change-Id: Ie9c4590a9900e1ebf28418c4b9c4760cc0a5501a