summaryrefslogtreecommitdiffstats
path: root/server/VirtualNetwork.cpp
diff options
context:
space:
mode:
authorSreeram Ramachandran <sreeram@google.com>2014-07-02 10:09:49 -0700
committerSreeram Ramachandran <sreeram@google.com>2014-07-02 10:09:49 -0700
commit89dad013e4dd98434b0409a84567f38782894029 (patch)
tree553f59e0cdda0fa081e792ca56a458413cdbc385 /server/VirtualNetwork.cpp
parent36ed53e37b2639681055b2d3d8777241e7dd6982 (diff)
downloadplatform_system_netd-89dad013e4dd98434b0409a84567f38782894029.tar.gz
platform_system_netd-89dad013e4dd98434b0409a84567f38782894029.tar.bz2
platform_system_netd-89dad013e4dd98434b0409a84567f38782894029.zip
Keep track of users allowed to call protect() explicitly.
This is an API change between ConnectivityService and Netd. The ownerUid was meant for this purpose, but it's insufficient, as apps need to call protect() _before_ they create a VPN. Bug: 15409918 Change-Id: If804aa106002e96d5ffb623d32db35fd76928367
Diffstat (limited to 'server/VirtualNetwork.cpp')
-rw-r--r--server/VirtualNetwork.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/VirtualNetwork.cpp b/server/VirtualNetwork.cpp
index 37f96442b..5ffee6e15 100644
--- a/server/VirtualNetwork.cpp
+++ b/server/VirtualNetwork.cpp
@@ -21,7 +21,7 @@
#define LOG_TAG "Netd"
#include "log/log.h"
-VirtualNetwork::VirtualNetwork(unsigned netId, uid_t /*ownerUid*/) : Network(netId) {
+VirtualNetwork::VirtualNetwork(unsigned netId): Network(netId) {
}
VirtualNetwork::~VirtualNetwork() {