diff options
author | Jeff Sharkey <jsharkey@android.com> | 2017-11-29 11:18:23 -0700 |
---|---|---|
committer | Benedict Wong <benedictwong@google.com> | 2017-12-18 19:44:40 +0000 |
commit | a4239cf7980ebf42d760afe0b60086d4d94e9cf8 (patch) | |
tree | ca4cfba5a367d00e8adababde895d64ffdf6a5ea /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | fbd4ea125fc23dd45ad47b71349ba8791196f2d5 (diff) |
[CHERRY-PICK] 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
Merged-In: I08925c843974675fc82e4080cec2eaab9ab7cd41
(cherry picked from commit 70dc4f4d16082c598cd1774d366c1e60c2016126)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions