Change-Id: I74be51f532d8867bb084ceaccfa81b513ad5bbf6
--- /dev/null
+# device.te
+type fp_sensor_device, dev_type;
/data/vendor/conn(/.*)? u:object_r:conn_vendor_data_file:s0
/data/vendor/wifi(/.*)? u:object_r:wifi_vendor_data_file:s0
+### DEV
+/dev/esfp[0-9] u:object_r:fp_sensor_device:s0
+
### VENDOR
/(vendor|system/vendor)/bin/hw/android\.hardware\.biometrics\.fingerprint@[0-9].[0-9]-service\.samsung u:object_r:hal_fingerprint_default_exec:s0
/(vendor|system/vendor)/bin/hw/android\.hardware\.light@[0-9].[0-9]-service\.samsung u:object_r:hal_light_default_exec:s0
--- /dev/null
+# hal_fingerprint_default.te
+
+# /dev/esfp[0-9]
+allow hal_fingerprint_default fp_sensor_device:chr_file rw_file_perms;