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
9dc5956f
Commit
9dc5956f
authored
10 years ago
by
Nick Kralevich
Committed by
Gerrit Code Review
10 years ago
Browse files
Options
Downloads
Plain Diff
Merge "Revert "isolated_app: Do not allow access to the gpu_device.""
parents
c21e9cc1
2ada7f3c
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
+0
-3
0 additions, 3 deletions
isolated_app.te
with
1 addition
and
4 deletions
app.te
+
1
−
1
View file @
9dc5956f
...
@@ -91,7 +91,7 @@ allow appdomain qtaguid_device:chr_file r_file_perms;
...
@@ -91,7 +91,7 @@ allow appdomain qtaguid_device:chr_file r_file_perms;
# Grant GPU access to all processes started by Zygote.
# Grant GPU access to all processes started by Zygote.
# They need that to render the standard UI.
# They need that to render the standard UI.
allow
{
appdomain
-isolated_app }
gpu_device:chr_file { rw_file_perms execute };
allow appdomain gpu_device:chr_file { rw_file_perms execute };
# Use the Binder.
# Use the Binder.
binder_use(appdomain)
binder_use(appdomain)
...
...
This diff is collapsed.
Click to expand it.
isolated_app.te
+
0
−
3
View file @
9dc5956f
...
@@ -18,9 +18,6 @@ allow isolated_app app_data_file:file { read write getattr };
...
@@ -18,9 +18,6 @@ allow isolated_app app_data_file:file { read write getattr };
# Isolated apps should not directly open app data files themselves.
# Isolated apps should not directly open app data files themselves.
neverallow isolated_app app_data_file:file open;
neverallow isolated_app app_data_file:file open;
# Isolated apps shouldn't be able to access the driver directly.
neverallow isolated_app gpu_device:file { rw_file_perms execute };
allow isolated_app radio_service:service_manager find;
allow isolated_app radio_service:service_manager find;
allow isolated_app surfaceflinger_service:service_manager find;
allow isolated_app surfaceflinger_service:service_manager find;
allow isolated_app system_server_service:service_manager find;
allow isolated_app system_server_service:service_manager find;
...
...
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