Merge "Grant trusty to power hal" into tm-dev am: 5e9a38799a am: bf80f3cc08

Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs101-sepolicy/+/17927853

Change-Id: I616b4ca914130186440e4639c441496311fec4ce
Ignore-AOSP-First: this is an automerge
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Wei Wang 2022-04-26 17:38:45 +00:00 committed by Automerger Merge Worker
commit e652a35fa3
3 changed files with 8 additions and 0 deletions

View file

@ -203,3 +203,6 @@ userdebug_or_eng(`
# SecureElement # SecureElement
type sysfs_st33spi, sysfs_type, fs_type; type sysfs_st33spi, sysfs_type, fs_type;
# Trusty
type sysfs_trusty, sysfs_type, fs_type;

View file

@ -475,6 +475,10 @@ genfscon sysfs /devices/platform/100b0000.G3D u:obje
genfscon sysfs /devices/platform/100b0000.ISP u:object_r:sysfs_thermal:s0 genfscon sysfs /devices/platform/100b0000.ISP u:object_r:sysfs_thermal:s0
genfscon sysfs /devices/platform/100b0000.TPU u:object_r:sysfs_thermal:s0 genfscon sysfs /devices/platform/100b0000.TPU u:object_r:sysfs_thermal:s0
# 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
# Coresight ETM # Coresight ETM
genfscon sysfs /devices/platform/25840000.etm u:object_r:sysfs_devices_cs_etm:s0 genfscon sysfs /devices/platform/25840000.etm u:object_r:sysfs_devices_cs_etm:s0
genfscon sysfs /devices/platform/25940000.etm u:object_r:sysfs_devices_cs_etm:s0 genfscon sysfs /devices/platform/25940000.etm u:object_r:sysfs_devices_cs_etm:s0

View file

@ -10,6 +10,7 @@ allow hal_power_default sysfs_camera:file rw_file_perms;
allow hal_power_default sysfs_display:file rw_file_perms; allow hal_power_default sysfs_display:file rw_file_perms;
allow hal_power_default sysfs_bcl:dir r_dir_perms; allow hal_power_default sysfs_bcl:dir r_dir_perms;
allow hal_power_default sysfs_bcl:file rw_file_perms; allow hal_power_default sysfs_bcl:file rw_file_perms;
allow hal_power_default sysfs_trusty:file rw_file_perms;
set_prop(hal_power_default, vendor_camera_prop) set_prop(hal_power_default, vendor_camera_prop)
set_prop(hal_power_default, vendor_camera_debug_prop) set_prop(hal_power_default, vendor_camera_debug_prop)
set_prop(hal_power_default, vendor_camera_fatp_prop) set_prop(hal_power_default, vendor_camera_fatp_prop)