Allows the edgetpu_logging service to write to the edgetpu sysfs. am: bfbf29c18c
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/14554224 Change-Id: Id78817a5c8d6fe6bbbeec7a300e057d8b22b73dd
This commit is contained in:
commit
8c575a737d
1 changed files with 1 additions and 1 deletions
2
whitechapel/vendor/google/edgetpu_logging.te
vendored
2
whitechapel/vendor/google/edgetpu_logging.te
vendored
|
@ -7,7 +7,7 @@ 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 r_file_perms;
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue