am f766c4d9: Allow bluetooth users to use socket provided by bluetooth app.

* commit 'f766c4d9ee8e0d95755a8b54622b424a224830d1':
  Allow bluetooth users to use socket provided by bluetooth app.
This commit is contained in:
Stephen Smalley 2013-03-22 14:20:24 -07:00 committed by Android Git Automerger
commit ddda5adca2

View File

@ -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 };