android_device_samsung_msm8.../sepolicy/hal_fingerprint_default.te
Deokgyu Yang 74087b8bb9 Update SEPolicy files from LineageOS/xiaomi_msm8996-common
Surely this is not perfect for gts3l boards

Signed-off-by: Deokgyu Yang <secugyu@gmail.com>
Change-Id: Ibdf84561980b6223be485579d330d9d8b3cdafb7
2021-05-13 00:29:11 +09:00

21 lines
1,019 B
Text

binder_call(hal_fingerprint_default, qfp-daemon)
binder_use(hal_fingerprint_default)
# Allow hal_fingerprint_default to open firmware images
r_dir_file(hal_fingerprint_default, firmware_file)
allow hal_fingerprint_default iqfp_service:service_manager find;
allow hal_fingerprint_default fingerprintd_data_file:file create_file_perms;
allow hal_fingerprint_default fingerprintd_data_file:dir rw_dir_perms;
allow hal_fingerprint_default fpc_data_file:dir rw_dir_perms;
allow hal_fingerprint_default fpc_data_file:file create_file_perms;
allow hal_fingerprint_default fpc_data_file:sock_file { create unlink };
allow hal_fingerprint_default sysfs_fpc:dir r_dir_perms;
allow hal_fingerprint_default sysfs_fpc:file rw_file_perms;
allow hal_fingerprint_default sysmatdrv_device:chr_file w_file_perms;
allow hal_fingerprint_default tee_device:chr_file rw_file_perms;
allow hal_fingerprint_default uhid_device:chr_file rw_file_perms;
# Ignore all logging requests
dontaudit hal_fingerprint_default storage_file:dir search;