This change also adds support for SEPolicy to access perfetto which was missing in ag/17818623. Bug: 217289052 Change-Id: Ic5599d0be783b65102b3b0ffef27e66f1f6904da
9 lines
323 B
Text
9 lines
323 B
Text
type gxp_logging, domain;
|
|
type gxp_logging_exec, exec_type, vendor_file_type, file_type;
|
|
init_daemon_domain(gxp_logging)
|
|
|
|
# The logging service accesses /dev/gxp
|
|
allow gxp_logging gxp_device:chr_file rw_file_perms;
|
|
|
|
# Allow gxp tracing service to send packets to Perfetto
|
|
userdebug_or_eng(`perfetto_producer(gxp_logging)')
|