]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Introduce trusted flag for management control sockets
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 15 Mar 2015 02:27:58 +0000 (19:27 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 15 Mar 2015 07:56:00 +0000 (09:56 +0200)
commit48af8a64a3344aa116fd79d6a3827a349ad5d7bf
tree6e79c470d978949a9af37a4fa317802d63821761
parentd248c77bd2d5dd3a55265021cf9ecb8f81b7d7c5
Bluetooth: Introduce trusted flag for management control sockets

Providing a global trusted flag for management control sockets provides
an easy way for identifying sockets and imposing restriction on it. For
now all management sockets are trusted since they require CAP_NET_ADMIN.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
include/net/bluetooth/hci.h
net/bluetooth/hci_sock.c