summaryrefslogtreecommitdiff
path: root/docs/html/sdk/api_diff/21/changes
diff options
context:
space:
mode:
authorChad Brubaker <cbrubaker@google.com>2016-11-09 12:16:05 -0800
committerChad Brubaker <cbrubaker@google.com>2016-11-16 09:50:17 -0800
commit5e10e8f1b2126f031b976b853c3f150418f3b342 (patch)
tree4471defd327cf9e9e8b61f11212955e9fdc52291 /docs/html/sdk/api_diff/21/changes
parentd7dde6b7939713e06a4abfac218c0315a0b7bfb0 (diff)
Use a 16 byte random suffix for installed apk directory name
This prevents apps (both normal and ephemeral) from learning what applications are installed by checking for the existence of /data/app/com.example.package-1. /data/app and /data/ephemeral-app are already 771 and so cannot be ls'd but because the directory names are guessable it is still possible to learn if known packages are installed. Apps can still learn if a package is installed and where via the standard APIs but not by directly using the filesystem. This is important for ephemeral apps since normal apps should not be aware of installed ephemeral apps (unless needed) and ephemeral apps shouldn't be aware of other ephemeral apps. Test: adb install --ephemeral, verify the code directory has random suffix Test: runtest -c android.content.pm.PackageManagerTests frameworks-core Test: cts-tradefed run commandAndExit cts -m CtsAppSecurityTestCases Change-Id: Id4883f5cfb9664307cf8518e2db3fef0e2d632d0
Diffstat (limited to 'docs/html/sdk/api_diff/21/changes')
0 files changed, 0 insertions, 0 deletions