Skip to content
Snippets Groups Projects
Commit 53cd6412 authored by nharold's avatar nharold Committed by android-build-merger
Browse files

Merge "Allow UDP Sockets to be returned from IpSecService" am: 327d7cb9 am:...

Merge "Allow UDP Sockets to be returned from IpSecService" am: 327d7cb9 am: a9be5320 am: cda872a8
am: 21582f73

Change-Id: Ibdff9c87e73c47fc1909182a58f50fab59505d36
parents 67dec775 21582f73
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,14 @@ untrusted_app_domain(untrusted_app) ...@@ -24,6 +24,14 @@ untrusted_app_domain(untrusted_app)
net_domain(untrusted_app) net_domain(untrusted_app)
bluetooth_domain(untrusted_app) bluetooth_domain(untrusted_app)
# allow untrusted apps to use UDP sockets provided by the system server but not
# modify them other than to connect
allow untrusted_app system_server:udp_socket { connect getattr read recvfrom sendto write };
# 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)
neverallow untrusted_app system_server:udp_socket {
accept append bind create getopt ioctl listen lock name_bind
relabelfrom relabelto setattr setopt shutdown };
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment