Skip to content
Snippets Groups Projects
Commit 9dc5956f authored by Nick Kralevich's avatar Nick Kralevich Committed by Gerrit Code Review
Browse files

Merge "Revert "isolated_app: Do not allow access to the gpu_device.""

parents c21e9cc1 2ada7f3c
No related branches found
No related tags found
No related merge requests found
...@@ -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)
......
...@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment