From 842cc2681699bc2b1ff2d60d7b233cc2bd04578c Mon Sep 17 00:00:00 2001
From: Max Bires <jbires@google.com>
Date: Mon, 22 Jan 2018 19:59:35 -0800
Subject: [PATCH] Fixing traceur selinux permission error

getattr for trace_data_file:dir permissions was missing, impacting
functionality.

Bug:68126425
Test: Traceur functionality is properly working
Change-Id: I2c8ae5cf3463a8e5309b8402713744e036a64171
---
 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 83c77b4cf..539e8bc5b 100644
--- a/private/traceur_app.te
+++ b/private/traceur_app.te
@@ -5,6 +5,6 @@ userdebug_or_eng(`
   allow traceur_app debugfs_tracing:file rw_file_perms;
   allow traceur_app debugfs_tracing_debug:file rw_file_perms;
   allow traceur_app trace_data_file:file create_file_perms;
-  allow traceur_app trace_data_file:dir { add_name search write };
+  allow traceur_app trace_data_file:dir { add_name getattr search write };
   allow traceur_app atrace_exec:file rx_file_perms;
 ')
-- 
GitLab