diff --git a/private/compat/26.0/26.0.ignore.cil b/private/compat/26.0/26.0.ignore.cil index 859e45da4af00ab8801a216902b4a5974feca14d..4d36d8e1a40a1d93fdb12def37f3d69b0c68d589 100644 --- a/private/compat/26.0/26.0.ignore.cil +++ b/private/compat/26.0/26.0.ignore.cil @@ -69,6 +69,7 @@ perfprofd_service property_info secure_element + secure_element_device secure_element_tmpfs secure_element_service slice_service diff --git a/private/compat/27.0/27.0.ignore.cil b/private/compat/27.0/27.0.ignore.cil index 998ac5fbafbf86ca3f0083eb6d1d67c653ac3b86..dcd9f88def045359786067870d4e63cb39dea77d 100644 --- a/private/compat/27.0/27.0.ignore.cil +++ b/private/compat/27.0/27.0.ignore.cil @@ -53,6 +53,7 @@ perfprofd_service property_info secure_element + secure_element_device secure_element_service secure_element_tmpfs slice_service diff --git a/public/device.te b/public/device.te index 43c89abd0f97bf4318c752e356c00f4b979465fe..231c8393836a08f2fce69fff423b76fe47272a62 100644 --- a/public/device.te +++ b/public/device.te @@ -39,6 +39,7 @@ type kmsg_device, dev_type; type kmsg_debug_device, dev_type; type null_device, dev_type, mlstrustedobject; type random_device, dev_type, mlstrustedobject; +type secure_element_device, dev_type; type sensors_device, dev_type; type serial_device, dev_type; type socket_device, dev_type; diff --git a/vendor/hal_secure_element_default.te b/vendor/hal_secure_element_default.te index 86fe0b9939e12d6f4574b931feb26cecc21d871f..b1a94a11098881f2171d6ea8675521cf3d9ed19c 100644 --- a/vendor/hal_secure_element_default.te +++ b/vendor/hal_secure_element_default.te @@ -2,4 +2,6 @@ type hal_secure_element_default, domain; hal_server_domain(hal_secure_element_default, hal_secure_element) type hal_secure_element_default_exec, exec_type, vendor_file_type, file_type; +allow hal_secure_element_default secure_element_device:chr_file rw_file_perms; + init_daemon_domain(hal_secure_element_default)