1allow fingerprintd tee_device:chr_file rw_file_perms;
2# read/open /dev/input
3allow fingerprintd input_device:dir r_dir_perms;
4# read/open /dev/input/event6
5allow fingerprintd input_device:chr_file r_file_perms;
6# write /sys/bus/spi/devices/spi12.0/spi_prepare
7allow fingerprintd sysfs_fingerprintd:file rw_file_perms;
8allow fingerprintd sysfs_fingerprintd:dir search;
9allow fingerprintd sysfs_fingerprintd:dir r_dir_perms;
10