Skip to content
Snippets Groups Projects
Commit 5a6d94bc authored by Dario Freni's avatar Dario Freni Committed by Gerrit Code Review
Browse files

Merge "Allow PackageManager to communicate to apexd."

parents 04dcdeac 7ad743b7
No related branches found
No related tags found
No related merge requests found
...@@ -941,6 +941,10 @@ allow system_server system_server_startup:fd use; ...@@ -941,6 +941,10 @@ allow system_server system_server_startup:fd use;
allow system_server system_server_startup_tmpfs:file { read write map }; allow system_server system_server_startup_tmpfs:file { read write map };
allow system_server system_server_startup:unix_dgram_socket write; allow system_server system_server_startup:unix_dgram_socket write;
# Allow system server to communicate to apexd
allow system_server apex_service:service_manager find;
allow system_server apexd:binder call;
# dexoptanalyzer is currently used only for secondary dex files which # dexoptanalyzer is currently used only for secondary dex files which
# system_server should never access. # system_server should never access.
neverallow system_server dexoptanalyzer_exec:file no_x_file_perms; neverallow system_server dexoptanalyzer_exec:file no_x_file_perms;
......
...@@ -6,8 +6,8 @@ binder_use(apexd) ...@@ -6,8 +6,8 @@ binder_use(apexd)
add_service(apexd, apex_service) add_service(apexd, apex_service)
set_prop(apexd, apexd_prop) set_prop(apexd, apexd_prop)
neverallow { domain -init -apexd } apex_service:service_manager find; neverallow { domain -init -apexd -system_server } apex_service:service_manager find;
neverallow { domain -init -apexd } apexd:binder call; neverallow { domain -init -apexd -system_server } apexd:binder call;
neverallow domain apexd:process ptrace; neverallow domain apexd:process ptrace;
......
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