mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 19:18:35 +00:00
Pixel-EM-DriverV2: sepolicy: allows Power HAL to
modify em_profile related sysfs nodes Bug: 170647767 Signed-off-by: Taeju Park <taeju@google.com> Change-Id: I160741f172a5713535852e7fb0d12126ddf0395e
This commit is contained in:
@@ -28,6 +28,9 @@ type vendor_fw_file, vendor_file_type, file_type;
|
||||
# Trusty
|
||||
type sysfs_trusty, sysfs_type, fs_type;
|
||||
|
||||
# EM Profile
|
||||
type sysfs_em_profile, sysfs_type, fs_type;
|
||||
|
||||
# sysfs
|
||||
type sysfs_chosen, sysfs_type, fs_type;
|
||||
type sysfs_ota, sysfs_type, fs_type;
|
||||
|
||||
@@ -376,3 +376,6 @@ genfscon sysfs /devices/platform/2bf40000.etm u:object_r:sysfs_devices_cs_etm
|
||||
# Trusty
|
||||
genfscon sysfs /module/trusty_virtio/parameters/use_high_wq u:object_r:sysfs_trusty:s0
|
||||
genfscon sysfs /module/trusty_core/parameters/use_high_wq u:object_r:sysfs_trusty:s0
|
||||
|
||||
# EM Profile
|
||||
genfscon sysfs /kernel/pixel_em/active_profile u:object_r:sysfs_em_profile:s0
|
||||
|
||||
@@ -7,4 +7,5 @@ allow hal_power_default sysfs_gpu:file rw_file_perms;
|
||||
allow hal_power_default sysfs_fabric:file rw_file_perms;
|
||||
allow hal_power_default sysfs_camera:file rw_file_perms;
|
||||
allow hal_power_default sysfs_trusty:file rw_file_perms;
|
||||
allow hal_power_default sysfs_em_profile:file rw_file_perms;
|
||||
set_prop(hal_power_default, vendor_camera_prop)
|
||||
|
||||
Reference in New Issue
Block a user