Skip to content
Snippets Groups Projects
Commit fde3e6a0 authored by Jeff Vander Stoep's avatar Jeff Vander Stoep Committed by Narayan Kamath
Browse files

tombstoned: allow unlinking anr files

Tombstoned unlinks "trace_XX" files if there are too many of them.

avc: denied { unlink } for comm="tombstoned" name="trace_12"
scontext=u:r:tombstoned:s0 tcontext=u:object_r:anr_data_file:s0
tclass=file

Bug: 77970585
Test: Build/boot taimen. adb root; sigquit an app.

(cherry picked from commit eb8f938f)

Change-Id: I2f29d12f747d688f8f4e06b48cf72c5109adc2ae
parent 8ed7e521
No related branches found
No related tags found
No related merge requests found
......@@ -19,4 +19,4 @@ auditallow tombstoned anr_data_file:file { append write };
# Changes for the new stack dumping mechanism. Each trace goes into a
# separate file, and these files are managed by tombstoned.
allow tombstoned anr_data_file:dir rw_dir_perms;
allow tombstoned anr_data_file:file { getattr open create };
allow tombstoned anr_data_file:file { create getattr open unlink };
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