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
89db177f
Commit
89db177f
authored
10 years ago
by
Robert Sesek
Committed by
Android Git Automerger
10 years ago
Browse files
Options
Downloads
Plain Diff
am
7f4a8a72
: isolated_app: Do not allow access to the gpu_device.
* commit '
7f4a8a72
': isolated_app: Do not allow access to the gpu_device.
parents
f67092fb
7f4a8a72
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show 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 @
89db177f
...
...
@@ -84,7 +84,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 @
89db177f
...
...
@@ -13,6 +13,9 @@ type isolated_app, domain;
app_domain(isolated_app)
net_domain(isolated_app)
# Isolated apps shouldn't be able to access the driver directly.
neverallow isolated_app gpu_device:file { rw_file_perms execute };
# read and write access to app_data_file is already
# granted via app.te. Allow execute.
# Needed to allow dlopen() from Chrome renderer processes.
...
...
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