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

am 010dd80d: am 111966d9: Merge "Remove redundant socket rules."

* commit '010dd80d':
  Remove redundant socket rules.
parents c50ce13c 010dd80d
No related branches found
No related tags found
No related merge requests found
...@@ -46,13 +46,6 @@ allow untrusted_app asec_apk_file:file r_file_perms; ...@@ -46,13 +46,6 @@ allow untrusted_app asec_apk_file:file r_file_perms;
# Execute libs in asec containers. # Execute libs in asec containers.
allow untrusted_app asec_public_file:file execute; allow untrusted_app asec_public_file:file execute;
# Create tcp/udp sockets
allow untrusted_app node_type:{ tcp_socket udp_socket } node_bind;
allow untrusted_app self:{ tcp_socket udp_socket } { create_socket_perms accept listen };
# Bind to a particular hostname/address/interface (e.g., localhost) instead of
# ANY. Normally, apps should not be listening on all interfaces.
allow untrusted_app port:{ tcp_socket udp_socket } name_bind;
# Allow the allocation and use of ptys # Allow the allocation and use of ptys
# Used by: https://play.google.com/store/apps/details?id=jackpal.androidterm # Used by: https://play.google.com/store/apps/details?id=jackpal.androidterm
create_pty(untrusted_app) create_pty(untrusted_app)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment