diff --git a/sepolicy/common/file.te b/sepolicy/common/file.te index 9b03bb7..8a03b86 100644 --- a/sepolicy/common/file.te +++ b/sepolicy/common/file.te @@ -1 +1,2 @@ +type sysfs_fingerprint, fs_type, sysfs_type; type vfsspi_data_file, file_type, data_file_type; diff --git a/sepolicy/common/file_contexts b/sepolicy/common/file_contexts index b305392..7c45342 100644 --- a/sepolicy/common/file_contexts +++ b/sepolicy/common/file_contexts @@ -11,3 +11,6 @@ # sysfs - audio /sys/devices/[a-f0-9]+\.slim/es705-codec-gen0(/.*)? u:object_r:sysfs_audio:s0 /sys/kernel/DualWave/sound(/.*)? u:object_r:sysfs_audio:s0 + +# sysfs - fingerprint +/sys/devices/virtual/fingerprint(/.*)? u:object_r:sysfs_fingerprint:s0 diff --git a/sepolicy/common/init.te b/sepolicy/common/init.te new file mode 100644 index 0000000..a8db50e --- /dev/null +++ b/sepolicy/common/init.te @@ -0,0 +1 @@ +allow init sysfs_fingerprint:file setattr;