summaryrefslogtreecommitdiffstats
path: root/CaCerts.mk
diff options
context:
space:
mode:
authorJesse Wilson <jessewilson@google.com>2012-01-06 17:01:37 -0500
committerJesse Wilson <jessewilson@google.com>2012-01-06 17:45:36 -0500
commit5c7fa7c36acddda7b7cc392ec360116b03e09880 (patch)
treeef0de8f03458170c38c5d4d3b9f826ad478d2c15 /CaCerts.mk
parent8530a5261f9b99632d1c6c41573020b6a18321ab (diff)
downloadlibcore-5c7fa7c36acddda7b7cc392ec360116b03e09880.zip
libcore-5c7fa7c36acddda7b7cc392ec360116b03e09880.tar.gz
libcore-5c7fa7c36acddda7b7cc392ec360116b03e09880.tar.bz2
Refuse to write optimized dex files to a non-private directory.
It's infeasible to test if other applications can write to a given directory, particularly since directories like /sdcard/ are accessible to named groups like sdcard_rw. Instead we take a shortcut and just test that the optimized directory is owned by the current process. I tested this manually; the '/data/data/vogar.test.java.StatTest/' app directory could be successfully used but other directories ('/data', '/sdcard', '/') throw exceptions as expected. Bug: http://b/4609061 Change-Id: Ia72b50aa3c73051b0c03c06c0bc7c0470f76b212
Diffstat (limited to 'CaCerts.mk')
0 files changed, 0 insertions, 0 deletions