Bug: 190331327 Bug: 190331548 Bug: 189895600 Bug: 190331108 Bug: 182524105 Bug: 183935302 Test: build ROM and check if the modules and sepolicy are still there Change-Id: I40391a239a16c4fe79d58fab209dcbd1a8f25ede
15 lines
602 B
Text
15 lines
602 B
Text
type edgetpu_logging, domain;
|
|
type edgetpu_logging_exec, exec_type, vendor_file_type, file_type;
|
|
init_daemon_domain(edgetpu_logging)
|
|
|
|
# The logging service accesses /dev/abrolhos
|
|
allow edgetpu_logging edgetpu_device:chr_file rw_file_perms;
|
|
|
|
# Allows the logging service to access /sys/class/edgetpu
|
|
allow edgetpu_logging sysfs_edgetpu:dir search;
|
|
allow edgetpu_logging sysfs_edgetpu:file rw_file_perms;
|
|
|
|
# Allow TPU logging service to log to stats service. (metrics)
|
|
allow edgetpu_logging fwk_stats_service:service_manager find;
|
|
binder_call(edgetpu_logging, system_server);
|
|
binder_use(edgetpu_logging)
|