Revert "Rollback DAC_READ_SEARCH capability"
This reverts commit f9250dc8aa420019965d8222532bd834ad3fec65.
Reason for revert:
The matching SELinux change (aosp/631805) landed
Change-Id: If4e084669ff281627bbe523e562695f9fc9474f4
diff --git a/perfetto.rc b/perfetto.rc
index b8b5473..23abaf2 100644
--- a/perfetto.rc
+++ b/perfetto.rc
@@ -31,8 +31,7 @@
# unexpectedly.
onrestart exec_background - nobody shell -- /system/bin/traced_probes --cleanup-after-crash
file /dev/kmsg w
- # TODO(primiano): enable this once matching selinux rules are in.
- # capabilities DAC_READ_SEARCH
+ capabilities DAC_READ_SEARCH
on property:sys.traced.enable_override=1
setprop persist.traced.enable 1