Allow bluetooth users to use socket provided by bluetooth app.
Change-Id: Ia061aa3b19229b96f643ca0285a7fa5fa06fd780 Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
This commit is contained in:
parent
ff7e5305b8
commit
f766c4d9ee
@ -21,6 +21,7 @@ allow bluetooth self:capability net_admin;
|
|||||||
# SELinux does not presently define a specific socket class for
|
# SELinux does not presently define a specific socket class for
|
||||||
# bluetooth sockets, nor does it distinguish among the bluetooth protocols.
|
# bluetooth sockets, nor does it distinguish among the bluetooth protocols.
|
||||||
allow bluetoothdomain self:socket *;
|
allow bluetoothdomain self:socket *;
|
||||||
|
allow bluetoothdomain bluetooth:unix_stream_socket { read write shutdown };
|
||||||
|
|
||||||
# tethering
|
# tethering
|
||||||
allow bluetooth self:{ tun_socket udp_socket } { ioctl create };
|
allow bluetooth self:{ tun_socket udp_socket } { ioctl create };
|
||||||
|
Loading…
Reference in New Issue
Block a user