aboutsummaryrefslogtreecommitdiffstats
path: root/bluetooth.te
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2013-03-22 14:20:24 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-03-22 14:20:24 -0700
commitddda5adca28e1d820b9369173bdbaf0700b5fd95 (patch)
treec30247b0e809006e9a1df2c909da382d70a1891c /bluetooth.te
parent036baf6ae92393a1406627e9a247d3a44f49a54b (diff)
parentf766c4d9ee8e0d95755a8b54622b424a224830d1 (diff)
downloadandroid_external_sepolicy-ddda5adca28e1d820b9369173bdbaf0700b5fd95.tar.gz
android_external_sepolicy-ddda5adca28e1d820b9369173bdbaf0700b5fd95.tar.bz2
android_external_sepolicy-ddda5adca28e1d820b9369173bdbaf0700b5fd95.zip
am f766c4d9: Allow bluetooth users to use socket provided by bluetooth app.
* commit 'f766c4d9ee8e0d95755a8b54622b424a224830d1': Allow bluetooth users to use socket provided by bluetooth app.
Diffstat (limited to 'bluetooth.te')
-rw-r--r--bluetooth.te1
1 files changed, 1 insertions, 0 deletions
diff --git a/bluetooth.te b/bluetooth.te
index 2292333..452c323 100644
--- a/bluetooth.te
+++ b/bluetooth.te
@@ -21,6 +21,7 @@ allow bluetooth self:capability net_admin;
# SELinux does not presently define a specific socket class for
# bluetooth sockets, nor does it distinguish among the bluetooth protocols.
allow bluetoothdomain self:socket *;
+allow bluetoothdomain bluetooth:unix_stream_socket { read write shutdown };
# tethering
allow bluetooth self:{ tun_socket udp_socket } { ioctl create };