diff --git a/edgetpu/sepolicy/file.te b/edgetpu/sepolicy/file.te index 5b3c8b5..c80631d 100644 --- a/edgetpu/sepolicy/file.te +++ b/edgetpu/sepolicy/file.te @@ -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; diff --git a/edgetpu/sepolicy/genfs_contexts b/edgetpu/sepolicy/genfs_contexts new file mode 100644 index 0000000..d88393c --- /dev/null +++ b/edgetpu/sepolicy/genfs_contexts @@ -0,0 +1 @@ +genfscon debugfs /edgetpu u:object_r:vendor_edgetpu_debugfs:s0