Snap for 12313714 from 019cc571f4
to 24Q4-release
Change-Id: I32d5a2ce7c74d01ed67e3bd0461eba6d6c6be1e7
This commit is contained in:
commit
7f8d413a40
8 changed files with 34 additions and 0 deletions
3
nfc/sepolicy_st54spi/file.te
Normal file
3
nfc/sepolicy_st54spi/file.te
Normal file
|
@ -0,0 +1,3 @@
|
|||
# SecureElement SPI device
|
||||
type st54spi_device, dev_type;
|
||||
|
3
nfc/sepolicy_st54spi/file_contexts
Normal file
3
nfc/sepolicy_st54spi/file_contexts
Normal file
|
@ -0,0 +1,3 @@
|
|||
/dev/st54spi u:object_r:st54spi_device:s0
|
||||
/vendor/bin/hw/android\.hardware\.secure_element-service\.thales u:object_r:hal_secure_element_st54spi_aidl_exec:s0
|
||||
|
9
nfc/sepolicy_st54spi/hal_secure_element_st54spi_aidl.te
Normal file
9
nfc/sepolicy_st54spi/hal_secure_element_st54spi_aidl.te
Normal file
|
@ -0,0 +1,9 @@
|
|||
# sepolicy for ST54L secure element
|
||||
type hal_secure_element_st54spi_aidl, domain;
|
||||
type hal_secure_element_st54spi_aidl_exec, exec_type, vendor_file_type, file_type;
|
||||
init_daemon_domain(hal_secure_element_st54spi_aidl)
|
||||
hal_server_domain(hal_secure_element_st54spi_aidl, hal_secure_element)
|
||||
allow hal_secure_element_st54spi_aidl st54spi_device:chr_file rw_file_perms;
|
||||
allow hal_secure_element_st54spi_aidl nfc_device:chr_file rw_file_perms;
|
||||
set_prop(hal_secure_element_st54spi_aidl, vendor_secure_element_prop)
|
||||
|
3
nfc/sepolicy_st54spi/property.te
Normal file
3
nfc/sepolicy_st54spi/property.te
Normal file
|
@ -0,0 +1,3 @@
|
|||
# SecureElement vendor property
|
||||
vendor_internal_prop(vendor_secure_element_prop)
|
||||
|
2
nfc/sepolicy_st54spi/property_contexts
Normal file
2
nfc/sepolicy_st54spi/property_contexts
Normal file
|
@ -0,0 +1,2 @@
|
|||
# SecureElement vendor property
|
||||
persist.vendor.se. u:object_r:vendor_secure_element_prop:s0
|
2
nfc/sepolicy_st54spi/vendor_init.te
Normal file
2
nfc/sepolicy_st54spi/vendor_init.te
Normal file
|
@ -0,0 +1,2 @@
|
|||
# SecureElement vendor property
|
||||
set_prop(vendor_init, vendor_secure_element_prop)
|
3
nfc/st54spi.mk
Normal file
3
nfc/st54spi.mk
Normal file
|
@ -0,0 +1,3 @@
|
|||
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/nfc/sepolicy_st54spi
|
||||
PRODUCT_PACKAGES += android.hardware.secure_element-service.thales
|
||||
|
9
storage/sepolicy/ufs_firmware_update.te
Normal file
9
storage/sepolicy/ufs_firmware_update.te
Normal file
|
@ -0,0 +1,9 @@
|
|||
# support ufs ffu via ota
|
||||
init_daemon_domain(ufs_firmware_update)
|
||||
|
||||
# support ufs ffu via ota
|
||||
allow ufs_firmware_update vendor_toolbox_exec:file execute_no_trans;
|
||||
allow ufs_firmware_update block_device:dir { search };
|
||||
allow ufs_firmware_update ufs_internal_block_device:blk_file rw_file_perms;
|
||||
allow ufs_firmware_update sysfs_scsi_devices_0000:file r_file_perms;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue