aboutsummaryrefslogtreecommitdiffstats
path: root/untrusted_app.te
diff options
context:
space:
mode:
authorJeff Vander Stoep <jeffv@google.com>2015-05-15 23:15:34 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2015-05-15 23:15:35 +0000
commit929c85870a7aba08963ad0c592bd66f4aea9bedc (patch)
treeeba9d62dd57670f1ea476d49c8dda8a57024797f /untrusted_app.te
parente5acc38f09e4375c8cb9fced716e3242505d2400 (diff)
parenta0fbeb97c0476891e177fb04953367aae90fc8a9 (diff)
downloadandroid_external_sepolicy-929c85870a7aba08963ad0c592bd66f4aea9bedc.tar.gz
android_external_sepolicy-929c85870a7aba08963ad0c592bd66f4aea9bedc.tar.bz2
android_external_sepolicy-929c85870a7aba08963ad0c592bd66f4aea9bedc.zip
Merge "Allow tty and wireless extensions ioctls" into mnc-dev
Diffstat (limited to 'untrusted_app.te')
-rw-r--r--untrusted_app.te3
1 files changed, 2 insertions, 1 deletions
diff --git a/untrusted_app.te b/untrusted_app.te
index 4e783f1..79eb752 100644
--- a/untrusted_app.te
+++ b/untrusted_app.te
@@ -102,7 +102,8 @@ allow untrusted_app { apk_tmp_file apk_private_tmp_file }:file r_file_perms;
# determine if wifi is present
# from include/uapi/linux/wireless.h:
# #define SIOCSIWCOMMIT 0x8B00 /* Commit pending changes to driver */
-allow untrusted_app self:{ rawip_socket tcp_socket udp_socket } { 0x8900-0x8926 0x8928-0x89ff 0x8b00 };
+allow untrusted_app self:{ rawip_socket tcp_socket udp_socket } { 0x5411 0x5451 0x8900-0x8926 0x8928-0x89ff 0x8b00-0x8bff };
+auditallow untrusted_app self:{ rawip_socket tcp_socket udp_socket } { 0x8b00-0x8bff };
# Allow GMS core to access perfprofd output, which is stored
# in /data/misc/perfprofd/. GMS core will need to list all