common: Label sysfs fingerping nodes
authorAndreas Schneider <asn@cryptomilk.org>
Sun, 22 Mar 2020 12:28:10 +0000 (13:28 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 1 Apr 2020 05:43:22 +0000 (07:43 +0200)
Change-Id: I0bb666f4a070eb400e18e0080e193d40bcc7a694

common/vendor/file.te
common/vendor/genfs_contexts

index 6387222753488fc59c7b84ad152f71850f7d8b37..1fb97e3f5bd8d8125bece0ac411e4fc1374aff17 100644 (file)
@@ -6,6 +6,7 @@ type conn_vendor_data_file, file_type, data_file_type;
 type wifi_vendor_data_file, file_type, data_file_type;
 
 ### SYSFS
+type sysfs_fingerprint, sysfs_type, r_fs_type, fs_type;
 type sysfs_wifi, sysfs_type, r_fs_type, fs_type;
 
 type sysfs_backlight_writable, sysfs_type, rw_fs_type, fs_type;
index a530de56ef25d81383b7e734300f4ce67058135b..3b60017a7cf87c43bc62f57be613e6ada46d9538 100644 (file)
@@ -2,10 +2,14 @@
 
 ### SYSFS
 genfscon sysfs /class/backlight/                                          u:object_r:sysfs_backlight_writable:s0
+genfscon sysfs /class/fingerprint/fingerprint                             u:object_r:sysfs_fingerprint:s0
 genfscon sysfs /class/timed_output/vibrator/intensity                     u:object_r:sysfs_vibrator:s0
 genfscon sysfs /class/timed_output/vibrator/multi_freq                    u:object_r:sysfs_vibrator:s0
+
 genfscon sysfs /devices/platform/panel@0/backlight/panel/brightness       u:object_r:sysfs_backlight_writable:s0
 genfscon sysfs /devices/platform/panel@0/backlight/panel/max_brightness   u:object_r:sysfs_backlight_writable:s0
+
+genfscon sysfs /devices/virtual/fingerprint/fingerprint                   u:object_r:sysfs_fingerprint:s0
 genfscon sysfs /devices/virtual/timed_output/vibrator/intensity           u:object_r:sysfs_vibrator:s0
 genfscon sysfs /devices/virtual/timed_output/vibrator/multi_freq          u:object_r:sysfs_vibrator:s0
 genfscon sysfs /devices/virtual/timed_output/vibrator/cp_trigger_index    u:object_r:sysfs_vibrator:s0