summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2018-06-26 17:36:01 -0600
committerJeff Sharkey <jsharkey@android.com>2018-06-28 15:23:42 -0600
commit553f5481acba86eaa40cd1e27feccf8a291e2bd2 (patch)
tree39c8d46036d5dc8d4e275cfad817b0c8df65541a /annotations/generate_annotated_java_files.py
parent56518a70b2ca284fd6bc4c8a4459eae73136371d (diff)
Add VmPolicy to monitor path access.
An upcoming StrictMode feature is going to help detect app bugs where they accidentally interact with credential-protected filesystem paths while a user is encrypted. Since much of the existing BlockGuard and BlockGuard.Policy interface is already on the API greylist, we carefully add a new parallel BlockGuard.VmPolicy object and start dispatching path access events to it. A future StrictMode CL will inspect paths reported through this interface to report any violations. Bug: 110413274 Test: atest cts/tests/tests/os/src/android/os/cts/StrictModeTest.java Change-Id: I98bb9cb428336710566b3a8c81b6332ef981ecfe
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions