Merge "Revert "Grant appdomain access to app_api_service""

This commit is contained in:
Adam Shih 2020-02-04 10:50:52 +00:00 committed by Gerrit Code Review
commit 125b6f6b6a

View file

@ -50,9 +50,6 @@ allow appdomain adbd:process sigchld;
# child shell or gdbserver pty access for runas. # child shell or gdbserver pty access for runas.
allow appdomain devpts:chr_file { getattr read write ioctl }; allow appdomain devpts:chr_file { getattr read write ioctl };
# Allow appdomain to access app_api_service
allow { appdomain -isolated_app } app_api_service:service_manager find;
# Use pipes and sockets provided by system_server via binder or local socket. # Use pipes and sockets provided by system_server via binder or local socket.
allow appdomain system_server:fd use; allow appdomain system_server:fd use;
allow appdomain system_server:fifo_file rw_file_perms; allow appdomain system_server:fifo_file rw_file_perms;