75806ef3c5
Ideally, public should only contain APIs (types / attributes) for vendor. The other statements like allow/neverallow/typeattributes are regarded as implementation detail for platform and should be in private. Bug: 232023812 Test: m selinux_policy Test: diff <(git diff --staged | grep "^-" | cut -b2- | sort) \ <(git diff --staged | grep "^+" | cut -b2- | sort) Test: remove comments on plat_sepolicy.cil, replace base_typeattr_* to base_typeattr and then compare old and new plat_sepolicy.cil Change-Id: I5e7d2da4465ab0216de6bacdf03077d37f6ffe12
12 lines
562 B
Text
12 lines
562 B
Text
# Domains for the Secretkeeper HAL, which provides secure (tamper evident, rollback protected)
|
|
# storage of secrets guarded by DICE policies.
|
|
binder_call(hal_secretkeeper_client, hal_secretkeeper_server)
|
|
|
|
hal_attribute_service(hal_secretkeeper, hal_secretkeeper_service)
|
|
|
|
binder_use(hal_secretkeeper_server)
|
|
binder_use(hal_secretkeeper_client)
|
|
|
|
# The Secretkeeper HAL service needs to communicate with a trusted application running
|
|
# in the TEE, which is represented by the tee_device permission.
|
|
allow hal_secretkeeper_server tee_device:chr_file rw_file_perms;
|