sm8350-common: sepolicy: add inscreen fingerprint rules
This commit is contained in:
parent
b66f137c63
commit
5d0056c142
5
sepolicy/vendor/file_contexts
vendored
5
sepolicy/vendor/file_contexts
vendored
@ -3,5 +3,10 @@
|
||||
/vendor/bin/batterysecret u:object_r:batterysecret_exec:s0
|
||||
/mnt/vendor/persist/subsys(/.*)? u:object_r:persist_subsys_file:s0
|
||||
|
||||
# FOD
|
||||
/vendor/bin/hw/vendor\.lineage\.biometrics\.fingerprint\.inscreen@1.0-service\.xiaomi_sm8350 u:object_r:hal_lineage_fod_default_exec:s0
|
||||
/sys/devices/platform/soc/soc:qcom,dsi-display-primary/fod_hbm u:object_r:vendor_sysfs_fod:s0
|
||||
/sys/devices/virtual/touch/tp_dev/fod_status u:object_r:vendor_sysfs_fod:s0
|
||||
|
||||
# Power HAL
|
||||
/vendor/bin/hw/android\.hardware\.power@1\.3-service\.xiaomi_sm8350 u:object_r:hal_power_default_exec:s0
|
||||
|
9
sepolicy/vendor/hal_lineage_fod_default.te
vendored
Normal file
9
sepolicy/vendor/hal_lineage_fod_default.te
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
type vendor_sysfs_fod, sysfs_type, fs_type;
|
||||
|
||||
allow hal_lineage_fod_default vendor_sysfs_fod:file rw_file_perms;
|
||||
allow hal_lineage_fod_default vendor_sysfs_graphics:dir r_dir_perms;
|
||||
allow hal_lineage_fod_default vendor_sysfs_graphics:file rw_file_perms;
|
||||
|
||||
binder_call(hal_lineage_fod_default, hal_fingerprint_default)
|
||||
|
||||
hal_client_domain(hal_lineage_fod_default, hal_fingerprint)
|
Loading…
Reference in New Issue
Block a user