-
- Downloads
SELinux policies for Perfetto cmdline client (/system/bin/perfetto)
Instead of having statsd linking the perfetto client library and talk directly to its socket, we let just statsd exec() the /system/bin/perfetto cmdline client. There are two reasons for this: 1) Simplify the interaction between statsd and perfetto, reduce dependencies, binary size bloat and isolate faults. 2) The cmdline client also takes care of handing the trace to Dropbox. This allows to expose the binder interaction surface to the short-lived cmdline client and avoid to grant binder access to the perfetto traced daemon. This cmdline client will be used by: - statsd - the shell user (for our UI and Studio) Bug: 70942310 Change-Id: I8cdde181481ad0a1a5cae5937ac446cedac54a1f
Showing
- private/compat/26.0/26.0.ignore.cil 4 additions, 0 deletionsprivate/compat/26.0/26.0.ignore.cil
- private/file.te 3 additions, 0 deletionsprivate/file.te
- private/file_contexts 2 additions, 0 deletionsprivate/file_contexts
- private/perfetto.te 60 additions, 0 deletionsprivate/perfetto.te
- private/shell.te 9 additions, 0 deletionsprivate/shell.te
- private/statsd.te 5 additions, 2 deletionsprivate/statsd.te
- private/su.te 3 additions, 0 deletionsprivate/su.te
- private/system_server.te 5 additions, 1 deletionprivate/system_server.te
Loading
Please register or sign in to comment