From fa0bf19bd19dff64ac9fe99cb0dce77ae953c2cf Mon Sep 17 00:00:00 2001 From: Carmen Jackson <carmenjackson@google.com> Date: Tue, 20 Feb 2018 14:47:08 -0800 Subject: [PATCH] Allow Traceur app to remove trace files. Bug: 73660835 Test: With the other commit on this topic, clearing all trace files via the app works properly. Change-Id: I27a4a5a14d9afe817683f1b046a644648a84badc --- private/traceur_app.te | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/private/traceur_app.te b/private/traceur_app.te index c9e6be1b7..a3c435ce5 100644 --- a/private/traceur_app.te +++ b/private/traceur_app.te @@ -9,7 +9,7 @@ userdebug_or_eng(` ') allow traceur_app trace_data_file:file create_file_perms; -allow traceur_app trace_data_file:dir { add_name getattr search write }; +allow traceur_app trace_data_file:dir rw_dir_perms; allow traceur_app atrace_exec:file rx_file_perms; dontaudit traceur_app debugfs_tracing_debug:file audit_access; -- GitLab