diff options
author | Jeff Sharkey <jsharkey@android.com> | 2017-11-29 11:18:23 -0700 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2017-12-04 17:43:40 -0700 |
commit | 70dc4f4d16082c598cd1774d366c1e60c2016126 (patch) | |
tree | efae1ae057682e1c4953eb324482d616bb7cbe0f /tools/aapt2/java/JavaClassGenerator.cpp | |
parent | efb758420d4385e7064df8740611fbd9fdcdbcac (diff) |
API for apps to tag sockets with their own UID.
This enables app A to create a socket, pass it to app B, and have
app B accept blame for the traffic performed on that socket.
Also adds helpful public APIs for tagging raw FileDescriptor sockets
instead of making developers go through shady SocketImpl wrappers.
Test: cts-tradefed run commandAndExit cts-dev -m CtsAppSecurityHostTestCases -t android.appsecurity.cts.AppSecurityTests#testAppFailAccessPrivateData
Bug: 63932076
Change-Id: I08925c843974675fc82e4080cec2eaab9ab7cd41
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions