sm8350-common: sepolicy: allow qti power hal to write to double tap node
This commit is contained in:
parent
36d413f801
commit
03d2373ffb
3
sepolicy/vendor/file_contexts
vendored
3
sepolicy/vendor/file_contexts
vendored
@ -3,6 +3,9 @@
|
||||
/vendor/bin/batterysecret u:object_r:batterysecret_exec:s0
|
||||
/mnt/vendor/persist/subsys(/.*)? u:object_r:persist_subsys_file:s0
|
||||
|
||||
# Power
|
||||
/sys/devices/virtual/touch/tp_dev/double_tap u:object_r:vendor_sysfs_double_tap: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
|
||||
|
3
sepolicy/vendor/hal_power_default.te
vendored
Normal file
3
sepolicy/vendor/hal_power_default.te
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
type vendor_sysfs_double_tap, sysfs_type, fs_type;
|
||||
|
||||
allow hal_power_default vendor_sysfs_double_tap:file rw_file_perms;
|
Loading…
Reference in New Issue
Block a user