Revert "zuma: move sepolicy related to bootctrl hal to gs-common"
Revert submission 25477883-gs-common_bootctrl-aidl Reason for revert: breaking builds b/314240126 Bug: 314240126 Reverted changes: /q/submissionid:25477883-gs-common_bootctrl-aidl Change-Id: I84dda0a7c98ed1d1f7958734761c9c1a0bd9d169
This commit is contained in:
parent
23feade4db
commit
fbe923d20a
4 changed files with 14 additions and 0 deletions
4
vendor/device.te
vendored
4
vendor/device.te
vendored
|
@ -1,6 +1,7 @@
|
||||||
type persist_block_device, dev_type;
|
type persist_block_device, dev_type;
|
||||||
type tee_persist_block_device, dev_type;
|
type tee_persist_block_device, dev_type;
|
||||||
type custom_ab_block_device, dev_type;
|
type custom_ab_block_device, dev_type;
|
||||||
|
type devinfo_block_device, dev_type;
|
||||||
type mfg_data_block_device, dev_type;
|
type mfg_data_block_device, dev_type;
|
||||||
type ufs_internal_block_device, dev_type;
|
type ufs_internal_block_device, dev_type;
|
||||||
type logbuffer_device, dev_type;
|
type logbuffer_device, dev_type;
|
||||||
|
@ -20,3 +21,6 @@ type gcma_camera_heap_device, dmabuf_heap_device_type, dev_type;
|
||||||
|
|
||||||
# SecureElement SPI device
|
# SecureElement SPI device
|
||||||
type st54spi_device, dev_type;
|
type st54spi_device, dev_type;
|
||||||
|
|
||||||
|
# OTA
|
||||||
|
type sda_block_device, dev_type;
|
||||||
|
|
1
vendor/file.te
vendored
1
vendor/file.te
vendored
|
@ -50,6 +50,7 @@ userdebug_or_eng(`
|
||||||
# sysfs
|
# sysfs
|
||||||
type sysfs_fabric, sysfs_type, fs_type;
|
type sysfs_fabric, sysfs_type, fs_type;
|
||||||
type sysfs_em_profile, sysfs_type, fs_type;
|
type sysfs_em_profile, sysfs_type, fs_type;
|
||||||
|
type sysfs_ota, sysfs_type, fs_type;
|
||||||
type sysfs_ospm, sysfs_type, fs_type;
|
type sysfs_ospm, sysfs_type, fs_type;
|
||||||
|
|
||||||
# GSA
|
# GSA
|
||||||
|
|
1
vendor/file_contexts
vendored
1
vendor/file_contexts
vendored
|
@ -1,5 +1,6 @@
|
||||||
# Binaries
|
# Binaries
|
||||||
/vendor/bin/hw/android\.hardware\.health-service\.zuma u:object_r:hal_health_default_exec:s0
|
/vendor/bin/hw/android\.hardware\.health-service\.zuma u:object_r:hal_health_default_exec:s0
|
||||||
|
/vendor/bin/hw/android\.hardware\.boot-service\.default-zuma u:object_r:hal_bootctl_default_exec:s0
|
||||||
/vendor/bin/hw/android\.hardware\.power\.stats-service\.pixel u:object_r:hal_power_stats_default_exec:s0
|
/vendor/bin/hw/android\.hardware\.power\.stats-service\.pixel u:object_r:hal_power_stats_default_exec:s0
|
||||||
/vendor/bin/hw/android\.hardware\.secure_element-service\.thales u:object_r:hal_secure_element_st54spi_aidl_exec:s0
|
/vendor/bin/hw/android\.hardware\.secure_element-service\.thales u:object_r:hal_secure_element_st54spi_aidl_exec:s0
|
||||||
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.goodix u:object_r:hal_fingerprint_default_exec:s0
|
/vendor/bin/hw/android\.hardware\.biometrics\.fingerprint@2\.1-service\.goodix u:object_r:hal_fingerprint_default_exec:s0
|
||||||
|
|
8
vendor/hal_bootctl_default.te
vendored
Normal file
8
vendor/hal_bootctl_default.te
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
allow hal_bootctl_default devinfo_block_device:blk_file rw_file_perms;
|
||||||
|
allow hal_bootctl_default sda_block_device:blk_file rw_file_perms;
|
||||||
|
allow hal_bootctl_default sysfs_ota:file rw_file_perms;
|
||||||
|
allow hal_bootctl_default tee_device:chr_file rw_file_perms;
|
||||||
|
|
||||||
|
recovery_only(`
|
||||||
|
allow hal_bootctl_default rootfs:dir r_dir_perms;
|
||||||
|
')
|
Loading…
Add table
Add a link
Reference in a new issue