You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.3 KiB
32 lines
1.3 KiB
allow hal_fingerprint_default {
|
|
fp_sensor_device
|
|
tee_device
|
|
}:chr_file rw_file_perms;
|
|
|
|
allow hal_fingerprint_default fingerprint_vendor_data_file:dir { rw_dir_perms create rmdir };
|
|
|
|
allow hal_fingerprint_default fingerprint_vendor_data_file:file { read write open getattr rename create unlink };
|
|
|
|
# /efs/biometrics
|
|
allow hal_fingerprint_default biometrics_efs_file:file r_file_perms;
|
|
allow hal_fingerprint_default biometrics_efs_file:dir search;
|
|
allow hal_fingerprint_default efs_file:dir search;
|
|
|
|
# /sys/class/lcd/panel/mask_brightness
|
|
allow hal_fingerprint_default sysfs_lcd_writable:dir search;
|
|
allow hal_fingerprint_default sysfs_lcd_writable:file rw_file_perms;
|
|
|
|
# /sys/class/fingerprint/
|
|
allow hal_fingerprint_default sysfs_fingerprint:dir r_dir_perms;
|
|
allow hal_fingerprint_default sysfs_fingerprint:file r_file_perms;
|
|
|
|
# /data/vendor/biometrics/*
|
|
allow hal_fingerprint_default biometrics_vendor_data_file:file create_file_perms;
|
|
allow hal_fingerprint_default biometrics_vendor_data_file:dir { read write open add_name create rmdir remove_name search };
|
|
|
|
# /sys/class/sec/tsp/
|
|
allow hal_fingerprint_default sysfs_sec_touchscreen:dir search;
|
|
allow hal_fingerprint_default sysfs_touchscreen_writable:file { write open getattr };
|
|
|
|
# vendor.finger.down
|
|
set_prop(hal_fingerprint_default, vendor_fingerprint_prop)
|
|
|