Skip to content
Snippets Groups Projects
Commit 0e61a7a9 authored by Nick Kralevich's avatar Nick Kralevich
Browse files

neverallow /data/anr access for isolated/untrusted apps

Add a neverallow rule (compile time assertion + CTS test) that
isolated_apps and untrusted_apps can't do anything else but append
to /data/anr/traces.txt. In particular, assert that they can't
read from the file, or overwrite other data which may already be
in the file.

Bug: 18340553
Bug: 27853304

(cherry picked from commit 369cf8cd)

Change-Id: Ib33e7ea0342ad28e5a89dfffdd9bc16fe54d8b3d
parent 70f6c34e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment