diff --git a/private/untrusted_app.te b/private/untrusted_app.te index ead9a16b185f1d974327a36af1fb7a1e2e653e9e..2f4a1a4dec2d42a55ce8a2cb3c3ff930815d1024 100644 --- a/private/untrusted_app.te +++ b/private/untrusted_app.te @@ -21,3 +21,7 @@ app_domain(untrusted_app) untrusted_app_domain(untrusted_app) net_domain(untrusted_app) bluetooth_domain(untrusted_app) + +# Allow the allocation and use of ptys +# Used by: https://play.google.com/store/apps/details?id=jackpal.androidterm +create_pty(untrusted_app) diff --git a/private/untrusted_app_25.te b/private/untrusted_app_25.te index 4f926498c823a9df3de3c15c4a03752572a574a1..cba0161c2c6800feab3dfe8b04c2dff45c4ad342 100644 --- a/private/untrusted_app_25.te +++ b/private/untrusted_app_25.te @@ -24,6 +24,10 @@ untrusted_app_domain(untrusted_app_25) net_domain(untrusted_app_25) bluetooth_domain(untrusted_app_25) +# Allow the allocation and use of ptys +# Used by: https://play.google.com/store/apps/details?id=jackpal.androidterm +create_pty(untrusted_app_25) + # b/34115651 - net.dns* properties read # This will go away in a future Android release get_prop(untrusted_app_25, net_dns_prop) diff --git a/private/untrusted_app_all.te b/private/untrusted_app_all.te index 7d6bee5298c4432ee47bb022e8471cc47090ebad..0315252b9ab2b4ce5ffd5ac8358db9bac6cb0a33 100644 --- a/private/untrusted_app_all.te +++ b/private/untrusted_app_all.te @@ -17,10 +17,6 @@ ### seapp_contexts. ### -# Allow the allocation and use of ptys -# Used by: https://play.google.com/store/apps/details?id=jackpal.androidterm -create_pty(untrusted_app) - # Legacy text relocations allow untrusted_app_all apk_data_file:file execmod;