Move file labeling to genfs_contexts.
This should improve performance, as file_contexts is slower than
genfs_contexts.
Bug: 62413700
Test: Built, flashed, and booted Sailfish. Verified that the
files have the correct context and that wifi, web, and atrace work.
Merged-In: Ia28707ec565a0792bc882fbffe9e8ab9968535f5
Change-Id: I9546f3af3c95e3443684ae4764881b69987611ef
diff --git a/private/shell.te b/private/shell.te
index afb1f49..fa196fa 100644
--- a/private/shell.te
+++ b/private/shell.te
@@ -5,8 +5,8 @@
# systrace support - allow atrace to run
allow shell debugfs_tracing:dir r_dir_perms;
-allow shell debugfs_tracing:file r_file_perms;
-allow shell tracing_shell_writable:file rw_file_perms;
+allow shell debugfs_tracing:file rw_file_perms;
+
allow shell debugfs_trace_marker:file getattr;
allow shell atrace_exec:file rx_file_perms;