Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sepolicy
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
CodeLinaro
public-release-test
platform
system
sepolicy
Commits
b36c9bcd
Commit
b36c9bcd
authored
7 years ago
by
TreeHugger Robot
Committed by
Android (Google) Code Review
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Add keystore_key:attest_unique_id to priv_app." into oc-dev
parents
f6daa78a
a0c7f012
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
private/access_vectors
+1
-0
1 addition, 0 deletions
private/access_vectors
private/domain.te
+3
-0
3 additions, 0 deletions
private/domain.te
private/priv_app.te
+3
-0
3 additions, 0 deletions
private/priv_app.te
with
7 additions
and
0 deletions
private/access_vectors
+
1
−
0
View file @
b36c9bcd
...
@@ -702,6 +702,7 @@ class keystore_key
...
@@ -702,6 +702,7 @@ class keystore_key
clear_uid
clear_uid
add_auth
add_auth
user_changed
user_changed
gen_unique_id
}
}
class drmservice {
class drmservice {
...
...
This diff is collapsed.
Click to expand it.
private/domain.te
+
3
−
0
View file @
b36c9bcd
...
@@ -13,3 +13,6 @@ neverallow {
...
@@ -13,3 +13,6 @@ neverallow {
-system_server
-system_server
userdebug_or_eng(`-perfprofd')
userdebug_or_eng(`-perfprofd')
} self:capability sys_ptrace;
} 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;
This diff is collapsed.
Click to expand it.
private/priv_app.te
+
3
−
0
View file @
b36c9bcd
...
@@ -114,6 +114,9 @@ allow priv_app functionfs:file rw_file_perms;
...
@@ -114,6 +114,9 @@ allow priv_app functionfs:file rw_file_perms;
# TODO: narrow this to just MediaProvider
# TODO: narrow this to just MediaProvider
allow priv_app mnt_media_rw_file:dir search;
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)
read_runtime_log_tags(priv_app)
###
###
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment