Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
AndroidSystemSEPolicy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
AndroidSystemSEPolicy
Commits
9fc35a75
Commit
9fc35a75
authored
10 years ago
by
Nick Kralevich
Committed by
Gerrit Code Review
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "isolated_app: Do not allow access to the gpu_device."
parents
2234f9ff
f1b5c665
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
app.te
+1
-1
1 addition, 1 deletion
app.te
isolated_app.te
+3
-0
3 additions, 0 deletions
isolated_app.te
with
4 additions
and
1 deletion
app.te
+
1
−
1
View file @
9fc35a75
...
...
@@ -106,7 +106,7 @@ allow appdomain qtaguid_device:chr_file r_file_perms;
# Grant GPU access to all processes started by Zygote.
# They need that to render the standard UI.
allow appdomain gpu_device:chr_file { rw_file_perms execute };
allow
{
appdomain
-isolated_app }
gpu_device:chr_file { rw_file_perms execute };
# Use the Binder.
binder_use(appdomain)
...
...
This diff is collapsed.
Click to expand it.
isolated_app.te
+
3
−
0
View file @
9fc35a75
...
...
@@ -35,3 +35,6 @@ neverallow isolated_app {
-activity_service
-display_service
}:service_manager find;
# Isolated apps shouldn't be able to access the driver directly.
neverallow isolated_app gpu_device:chr_file { rw_file_perms execute };
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