Skip to content
Snippets Groups Projects
Commit 4eddb3e3 authored by Josh Gao's avatar Josh Gao
Browse files

tombstoned: allow append to anr_data_file.

Fix the following denial:

tombstoned: type=1400 audit(0.0:563): avc: denied { append } for path="/data/anr/traces.txt" dev="sda35" ino=679941 scontext=u:r:tombstoned:s0 tcontext=u:object_r:anr_data_file:s0 tclass=file permissive=0

Bug: http://b/34472671
Test: mma
Change-Id: Iab5fbaf50888aa0f195841cb7e718ff393e526dd
parent 937be2b4
No related branches found
No related tags found
No related merge requests found
......@@ -10,3 +10,4 @@ allow tombstoned domain:dir r_dir_perms;
allow tombstoned domain:file r_file_perms;
allow tombstoned tombstone_data_file:dir rw_dir_perms;
allow tombstoned tombstone_data_file:file create_file_perms;
allow tombstoned anr_data_file:file { getattr append };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment