Skip to content
Snippets Groups Projects
Commit d500f837 authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

am 61dc3507: app.te: allow getopt/getattr on zygote socket

* commit '61dc3507':
  app.te: allow getopt/getattr on zygote socket
parents 80508964 61dc3507
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,10 @@ unix_socket_connect(appdomain, keystore, keystore) ...@@ -13,6 +13,10 @@ unix_socket_connect(appdomain, keystore, keystore)
# Receive and use open file descriptors inherited from zygote. # Receive and use open file descriptors inherited from zygote.
allow appdomain zygote:fd use; allow appdomain zygote:fd use;
# Needed to close the zygote socket, which involves getopt / getattr
# This should be deleted after b/12061011 is fixed
allow appdomain zygote:unix_stream_socket { getopt getattr };
# gdbserver for ndk-gdb reads the zygote. # gdbserver for ndk-gdb reads the zygote.
allow appdomain zygote_exec:file r_file_perms; allow appdomain zygote_exec:file r_file_perms;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment