aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeff Vander Stoep2018-04-13 16:33:32 -0500
committerJeff Vander Stoep2018-04-13 16:33:32 -0500
commiteb8f938fd45038e70621d4e0a1c7e9b14e344698 (patch)
treeb958fd2315026e5a012bf4176f9cdc1128b256b6
parent12e73685b75905fa5afa62cd1fb3631f9f2af818 (diff)
downloadsystem-sepolicy-eb8f938fd45038e70621d4e0a1c7e9b14e344698.tar.gz
system-sepolicy-eb8f938fd45038e70621d4e0a1c7e9b14e344698.tar.xz
system-sepolicy-eb8f938fd45038e70621d4e0a1c7e9b14e344698.zip
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. Change-Id: I2c7cf81a837d82c4960c4c666b38cd910885d78d
-rw-r--r--public/tombstoned.te2
1 files changed, 1 insertions, 1 deletions
diff --git a/public/tombstoned.te b/public/tombstoned.te
index cf3ddcba..1dfcf504 100644
--- a/public/tombstoned.te
+++ b/public/tombstoned.te
@@ -19,4 +19,4 @@ auditallow tombstoned anr_data_file:file { append write };
19# Changes for the new stack dumping mechanism. Each trace goes into a 19# Changes for the new stack dumping mechanism. Each trace goes into a
20# separate file, and these files are managed by tombstoned. 20# separate file, and these files are managed by tombstoned.
21allow tombstoned anr_data_file:dir rw_dir_perms; 21allow tombstoned anr_data_file:dir rw_dir_perms;
22allow tombstoned anr_data_file:file { getattr open create }; 22allow tombstoned anr_data_file:file { create getattr open unlink };