sepolicy: edgetpu: add debugfs contexts
Add vendor_edgetpu_debugfs contexts for dumpstate dump_tpu.sh access. Bug: 349699101 Test: adb bugreport, check dumpstate_board.txt Flag: NONE dumpstate support bundled with device Change-Id: I42b7eb2391c42323c7da0b544402e9a08b9d56f3 Signed-off-by: Todd Poynor <toddpoynor@google.com>
This commit is contained in:
parent
e67bff18e9
commit
4b68ad6e8d
2 changed files with 4 additions and 0 deletions
|
@ -1,6 +1,9 @@
|
|||
# EdgeTPU sysfs
|
||||
type sysfs_edgetpu, sysfs_type, fs_type;
|
||||
|
||||
# EdgeTPU debugfs
|
||||
type vendor_edgetpu_debugfs, fs_type, debugfs_type;
|
||||
|
||||
# EdgeTPU hal data file
|
||||
type hal_neuralnetworks_darwinn_data_file, file_type, data_file_type;
|
||||
|
||||
|
|
1
edgetpu/sepolicy/genfs_contexts
Normal file
1
edgetpu/sepolicy/genfs_contexts
Normal file
|
@ -0,0 +1 @@
|
|||
genfscon debugfs /edgetpu u:object_r:vendor_edgetpu_debugfs:s0
|
Loading…
Add table
Add a link
Reference in a new issue