Rollback DAC_READ_SEARCH capability
This is a partial revert of aosp/650163 .
Removing this capability until the matching selinux change is in.
Otherwise this is likely to break boot tests that check for denials
at startup.
Bug: 74584014
Change-Id: I8ff63e1b5cecea03747c864a874c218d15417966
diff --git a/perfetto.rc b/perfetto.rc
index 23abaf2..b8b5473 100644
--- a/perfetto.rc
+++ b/perfetto.rc
@@ -31,7 +31,8 @@
# unexpectedly.
onrestart exec_background - nobody shell -- /system/bin/traced_probes --cleanup-after-crash
file /dev/kmsg w
- capabilities DAC_READ_SEARCH
+ # TODO(primiano): enable this once matching selinux rules are in.
+ # capabilities DAC_READ_SEARCH
on property:sys.traced.enable_override=1
setprop persist.traced.enable 1