Allows the edgetpu_logging service to write to the edgetpu sysfs. am: bfbf29c18c am: 8c575a737d

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14554224

Change-Id: I719906e922fe3463e1ec2bc207da154afe062ff8
This commit is contained in:
qinyiyan 2021-05-20 02:21:03 +00:00 committed by Automerger Merge Worker
commit c7a9c0331e

View file

@ -7,7 +7,7 @@ allow edgetpu_logging edgetpu_device:chr_file rw_file_perms;
# Allows the logging service to access /sys/class/edgetpu # Allows the logging service to access /sys/class/edgetpu
allow edgetpu_logging sysfs_edgetpu:dir search; allow edgetpu_logging sysfs_edgetpu:dir search;
allow edgetpu_logging sysfs_edgetpu:file r_file_perms; allow edgetpu_logging sysfs_edgetpu:file rw_file_perms;
# Allow TPU logging service to log to stats service. (metrics) # Allow TPU logging service to log to stats service. (metrics)
allow edgetpu_logging fwk_stats_service:service_manager find; allow edgetpu_logging fwk_stats_service:service_manager find;