Grant trusty to power hal
Bug: 229350721 Test: UDFPS with stress Signed-off-by: Wei Wang <wvw@google.com> Change-Id: Ia88d6cff1d21940e22ae5122dbfcf52de27ad700
This commit is contained in:
parent
11770d9dfe
commit
1291c3cec9
3 changed files with 8 additions and 0 deletions
3
whitechapel/vendor/google/file.te
vendored
3
whitechapel/vendor/google/file.te
vendored
|
@ -203,3 +203,6 @@ userdebug_or_eng(`
|
|||
|
||||
# SecureElement
|
||||
type sysfs_st33spi, sysfs_type, fs_type;
|
||||
|
||||
# Trusty
|
||||
type sysfs_trusty, sysfs_type, fs_type;
|
||||
|
|
4
whitechapel/vendor/google/genfs_contexts
vendored
4
whitechapel/vendor/google/genfs_contexts
vendored
|
@ -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.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
|
||||
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
|
||||
|
|
|
@ -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_bcl:dir r_dir_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_debug_prop)
|
||||
set_prop(hal_power_default, vendor_camera_fatp_prop)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue