The SE Policies to incorporate ISecureClock and ISharedSecret services along with IKeyMintDevice service into default keymint HAL Server.
Test: Rebuild, execute and run atest VtsAidlSharedSecretTargetTest and atest VtsAidlSecureClockTargetTest. Bug: b/171844725, b/168673523. Change-Id: I8b81ec12c45566d31edcd117e41fd559df32c37d
This commit is contained in:
parent
7b3ae03026
commit
814e89a1b2
4 changed files with 9 additions and 0 deletions
|
@ -47,6 +47,8 @@
|
|||
hal_keymint_service
|
||||
hal_neuralnetworks_service
|
||||
hal_power_stats_service
|
||||
hal_secureclock_service
|
||||
hal_sharedsecret_service
|
||||
hal_weaver_service
|
||||
keystore_compat_hal_service
|
||||
keystore2_key_contexts_file
|
||||
|
|
|
@ -12,6 +12,8 @@ android.hardware.power.IPower/default u:object_r:
|
|||
android.hardware.power.stats.IPowerStats/default u:object_r:hal_power_stats_service:s0
|
||||
android.hardware.rebootescrow.IRebootEscrow/default u:object_r:hal_rebootescrow_service:s0
|
||||
android.hardware.security.keymint.IKeyMintDevice/default u:object_r:hal_keymint_service:s0
|
||||
android.hardware.security.secureclock.ISecureClock/default u:object_r:hal_secureclock_service:s0
|
||||
android.hardware.security.sharedsecret.ISharedSecret/default u:object_r:hal_sharedsecret_service:s0
|
||||
android.hardware.vibrator.IVibrator/default u:object_r:hal_vibrator_service:s0
|
||||
android.hardware.vibrator.IVibratorManager/default u:object_r:hal_vibrator_service:s0
|
||||
android.hardware.weaver.IWeaver/default u:object_r:hal_weaver_service:s0
|
||||
|
|
|
@ -250,6 +250,8 @@ type hal_oemlock_service, vendor_service, protected_service, service_manager_typ
|
|||
type hal_power_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_power_stats_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_rebootescrow_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_secureclock_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_sharedsecret_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_vibrator_service, vendor_service, protected_service, service_manager_type;
|
||||
type hal_weaver_service, vendor_service, protected_service, service_manager_type;
|
||||
|
||||
|
|
3
vendor/hal_keymint_default.te
vendored
3
vendor/hal_keymint_default.te
vendored
|
@ -4,4 +4,7 @@ hal_server_domain(hal_keymint_default, hal_keymint)
|
|||
type hal_keymint_default_exec, exec_type, vendor_file_type, file_type;
|
||||
init_daemon_domain(hal_keymint_default)
|
||||
|
||||
hal_attribute_service(hal_keymint, hal_secureclock_service)
|
||||
hal_attribute_service(hal_keymint, hal_sharedsecret_service)
|
||||
|
||||
get_prop(hal_keymint_default, vendor_security_patch_level_prop);
|
||||
|
|
Loading…
Reference in a new issue