Grant trusty to power hal am: 90f4106b80
am: 6c85eeac05
Original change: https://googleplex-android-review.googlesource.com/c/device/google/gs201-sepolicy/+/17928564 Change-Id: I0191d1ddbb508ca9cf654680d4a753355ca44041 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:
commit
ae95ea381c
3 changed files with 8 additions and 0 deletions
|
@ -24,6 +24,9 @@ userdebug_or_eng(`
|
||||||
# Exynos Firmware
|
# Exynos Firmware
|
||||||
type vendor_fw_file, vendor_file_type, file_type;
|
type vendor_fw_file, vendor_file_type, file_type;
|
||||||
|
|
||||||
|
# Trusty
|
||||||
|
type sysfs_trusty, sysfs_type, fs_type;
|
||||||
|
|
||||||
# sysfs
|
# sysfs
|
||||||
type sysfs_chosen, sysfs_type, fs_type;
|
type sysfs_chosen, sysfs_type, fs_type;
|
||||||
type sysfs_ota, sysfs_type, fs_type;
|
type sysfs_ota, sysfs_type, fs_type;
|
||||||
|
|
|
@ -375,3 +375,7 @@ genfscon sysfs /devices/platform/2bc40000.etm u:object_r:sysfs_devices_cs_etm
|
||||||
genfscon sysfs /devices/platform/2bd40000.etm u:object_r:sysfs_devices_cs_etm:s0
|
genfscon sysfs /devices/platform/2bd40000.etm u:object_r:sysfs_devices_cs_etm:s0
|
||||||
genfscon sysfs /devices/platform/2be40000.etm u:object_r:sysfs_devices_cs_etm:s0
|
genfscon sysfs /devices/platform/2be40000.etm u:object_r:sysfs_devices_cs_etm:s0
|
||||||
genfscon sysfs /devices/platform/2bf40000.etm u:object_r:sysfs_devices_cs_etm:s0
|
genfscon sysfs /devices/platform/2bf40000.etm u:object_r:sysfs_devices_cs_etm: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
|
||||||
|
|
|
@ -6,4 +6,5 @@ allow hal_power_default proc_vendor_sched:file r_file_perms;
|
||||||
allow hal_power_default sysfs_gpu:file rw_file_perms;
|
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_fabric:file rw_file_perms;
|
||||||
allow hal_power_default sysfs_camera:file rw_file_perms;
|
allow hal_power_default sysfs_camera: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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue