Merge "Add keystore_key:attest_unique_id to priv_app." into oc-dev
This commit is contained in:
commit
b36c9bcd05
3 changed files with 7 additions and 0 deletions
|
@ -702,6 +702,7 @@ class keystore_key
|
|||
clear_uid
|
||||
add_auth
|
||||
user_changed
|
||||
gen_unique_id
|
||||
}
|
||||
|
||||
class drmservice {
|
||||
|
|
|
@ -13,3 +13,6 @@ neverallow {
|
|||
-system_server
|
||||
userdebug_or_eng(`-perfprofd')
|
||||
} self:capability sys_ptrace;
|
||||
|
||||
# Limit ability to generate hardware unique device ID attestations to priv_apps
|
||||
neverallow { domain -priv_app } *:keystore_key gen_unique_id;
|
||||
|
|
|
@ -114,6 +114,9 @@ allow priv_app functionfs:file rw_file_perms;
|
|||
# TODO: narrow this to just MediaProvider
|
||||
allow priv_app mnt_media_rw_file:dir search;
|
||||
|
||||
# Allow privileged apps (e.g. GMS core) to generate unique hardware IDs
|
||||
allow priv_app keystore:keystore_key gen_unique_id;
|
||||
|
||||
read_runtime_log_tags(priv_app)
|
||||
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue