forked from halt-spesn/device_xiaomi_spes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhal_fingerprint_default.te
39 lines (30 loc) · 1.28 KB
/
hal_fingerprint_default.te
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
typeattribute hal_fingerprint_default data_between_core_and_vendor_violators;
allow hal_fingerprint_default goodix_fingerprint_data_file:dir create_dir_perms;
allow hal_fingerprint_default goodix_fingerprint_data_file:file create_file_perms;
allow hal_fingerprint_default fingerprint_data_file:dir rw_dir_perms;
allow hal_fingerprint_default fingerprint_data_file:file create_file_perms;
allow hal_fingerprint_default vendor_hal_perf_hwservice:hwservice_manager find;
allow hal_fingerprint_default {
fingerprint_device
input_device
tee_device
uhid_device
}: chr_file rw_file_perms;
allow hal_fingerprint_default self:netlink_socket create_socket_perms_no_ioctl;
allow hal_fingerprint_default {
input_device
vendor_sysfs_graphics
sysfs_msm_subsys
}: dir r_dir_perms;
allow hal_fingerprint_default {
vendor_sysfs_fingerprint
vendor_sysfs_graphics
sysfs_msm_subsys
}: file rw_file_perms;
r_dir_file(hal_fingerprint_default, firmware_file)
get_prop(system_server, vendor_fp_prop);
set_prop(hal_fingerprint_default, vendor_fp_prop)
allow hal_fingerprint_default vendor_sysfs_fps_attr:file rw_file_perms;
allow hal_fingerprint_default vendor_sysfs_spss:dir { search };
allow hal_fingerprint_default vendor_sysfs_spss:file { open read };
allow hal_fingerprint_default sysfs:file { write };