sm8250-common: Implement vendor.lineage.powershare@1.0 HAL
This commit is contained in:
@@ -4,6 +4,7 @@ type op2_file, file_type;
|
||||
|
||||
# proc
|
||||
type proc_touchpanel, fs_type, proc_type;
|
||||
type procfs_oem_wireless, fs_type, proc_type;
|
||||
|
||||
# sysfs
|
||||
type sysfs_battery_supply, sysfs_type, fs_type;
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
/(product|system/product)/vendor_overlay/[0-9]+/bin/hw/android\.hardware\.power@1\.2-service u:object_r:hal_power_default_exec:s0
|
||||
/system/bin/hw/lineage\.biometrics\.fingerprint\.inscreen@1.0-service\.oneplus_kona u:object_r:hal_fod_kona_exec:s0
|
||||
/system/bin/hw/lineage\.livedisplay@2\.0-service\.oneplus_kona u:object_r:hal_livedisplay_kona_exec:s0
|
||||
/system/bin/hw/lineage\.powershare@1\.0-service\.oneplus_kona u:object_r:hal_powershare_kona_exec:s0
|
||||
/system/bin/hw/lineage\.touch@1\.0-service\.oneplus_kona u:object_r:hal_touch_kona_exec:s0
|
||||
|
||||
# DASH
|
||||
|
||||
9
sepolicy/private/hal_powershare_kona.te
Normal file
9
sepolicy/private/hal_powershare_kona.te
Normal file
@@ -0,0 +1,9 @@
|
||||
type hal_powershare_kona, coredomain, domain;
|
||||
hal_server_domain(hal_powershare_kona, hal_lineage_powershare)
|
||||
|
||||
type hal_powershare_kona_exec, system_file_type, exec_type, file_type;
|
||||
init_daemon_domain(hal_powershare_kona)
|
||||
|
||||
# Allow access to wireless rx enable nodes
|
||||
allow hal_powershare_kona procfs_oem_wireless:dir search;
|
||||
allow hal_powershare_kona procfs_oem_wireless:file rw_file_perms;
|
||||
Reference in New Issue
Block a user