android_device_oneplus_sm81.../sepolicy/vendor/hal_fingerprint_default.te

28 lines
1.2 KiB
Plaintext
Raw Normal View History

allow hal_fingerprint_default self:netlink_socket create_socket_perms_no_ioctl;
# Allow binder communication with hal_perf_default
binder_call(hal_fingerprint_default, hal_perf_default)
# Allow hal_fingerprint_default to find hal_perf_hwservice
allow hal_fingerprint_default hal_perf_hwservice:hwservice_manager find;
# Allow hal_fingerprint_default to read and write to fingerprintd_device
allow hal_fingerprint_default fingerprintd_device:chr_file rw_file_perms;
# Allow hal_fingerprint_default to read and write to qdsp_device
allow hal_fingerprint_default qdsp_device:chr_file rw_file_perms;
# Allow hal_fingerprint_default to read and write to tee_device
allow hal_fingerprint_default tee_device:chr_file rw_file_perms;
# Allow hal_fingerprint_default to read and write to proc_touchpanel
allow hal_fingerprint_default proc_touchpanel:dir search;
allow hal_fingerprint_default proc_touchpanel:file rw_file_perms;
# Allow hal_fingerprint_default access to sysfs nodes
allow hal_fingerprint_default sysfs_fod:file rw_file_perms;
allow hal_fingerprint_default sysfs_aod:file r_file_perms;
# Allow hal_fingerprint_default to set vendor_fingerprint_prop
set_prop(hal_fingerprint_default, vendor_fingerprint_prop)