From da3b06d9c445cc4cd5f1b4c4382290f787c9767e Mon Sep 17 00:00:00 2001 From: Richard Hsu Date: Thu, 12 Aug 2021 15:33:57 -0700 Subject: [PATCH] [Bringup] Add Janeiro sysfs(s) to part of sysfs_edgetpu group For the logging service to access sysfs, the sysfs needs to be included in the sysfs_edgetpu group. This CL makes gs201 sepolicy on par with the gs101 version, by including janeiro (PRO) in the gs201 setup. gs101 genfs file: https://source.corp.google.com/sc-dev/device/google/gs101-sepolicy/edgetpu/genfs_contexts;l=2?q=sysfs_edgetpu&ct=os Bug: 196105736 Test: Restarted logging service on cloudripper. No AVC denial. Change-Id: I4d5fa33e1110c28904f7fffea0024d7688387b11 --- edgetpu/genfs_contexts | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 edgetpu/genfs_contexts diff --git a/edgetpu/genfs_contexts b/edgetpu/genfs_contexts new file mode 100644 index 00000000..78e7e959 --- /dev/null +++ b/edgetpu/genfs_contexts @@ -0,0 +1,2 @@ +# EdgeTPU +genfscon sysfs /devices/platform/1ce00000.janeiro u:object_r:sysfs_edgetpu:s0