Pixel-EM-DriverV2: sepolicy: allows Power HAL to am: eb4d432dd8
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/18635845 Change-Id: I57405574dd0a776e8b5c4569b50e515fc5150f24 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
f292277bbd
3 changed files with 7 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue