Support routing sockets as another user

Add support for routing sockets as if they were another user's.
This is for services that handle delegated network tasks like MediaServer and DownloadManager.

Change-Id: Id20efc1f5c2cce6f8838d777762f6c0a703a9437
This commit is contained in:
Chad Brubaker
2013-07-11 13:29:30 -07:00
parent b7652cde9d
commit 11f2225c3d
2 changed files with 29 additions and 0 deletions

View File

@@ -119,6 +119,8 @@ interface IConnectivityManager
boolean prepareVpn(String oldPackage, String newPackage);
void markSocketAsUser(in ParcelFileDescriptor socket, int uid);
ParcelFileDescriptor establishVpn(in VpnConfig config);
void startLegacyVpn(in VpnProfile profile);