android_packages_modules_Co.../core/java
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Jeff Sharkey f5c1f30527 [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 152b263678)
2017-12-18 19:44:40 +00:00
..
android [CHERRY-PICK] API for apps to tag sockets with their own UID. 2017-12-18 19:44:40 +00:00
com/android/internal/net NetworkStatsFactory: fix double accounting on IPv6 only networks 2017-05-10 09:19:12 +09:00