Revert^2 commit 2c99c990d3
"
This reverts commit 5d2c755531
.
Bug: 297129706
Change-Id: Ia8301a139559e8abf119a0964d7a06914aacf55e
This commit is contained in:
parent
23853091a3
commit
9bd666007d
204 changed files with 1326 additions and 989 deletions
22
legacy/vendor/gxp_logging.te
vendored
Normal file
22
legacy/vendor/gxp_logging.te
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
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 logging service to access /sys/class/gxp
|
||||
allow gxp_logging sysfs_gxp:dir search;
|
||||
allow gxp_logging sysfs_gxp:file rw_file_perms;
|
||||
|
||||
# Allow logging service to log to stats service for reporting metrics.
|
||||
allow gxp_logging fwk_stats_service:service_manager find;
|
||||
binder_call(gxp_logging, system_server);
|
||||
binder_use(gxp_logging)
|
||||
|
||||
# Allow logging service to read gxp properties.
|
||||
get_prop(gxp_logging, vendor_gxp_prop)
|
||||
|
||||
# Allow gxp tracing service to send packets to Perfetto
|
||||
userdebug_or_eng(`perfetto_producer(gxp_logging)')
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue