]> 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)
commit4a315bba61fa4d23e90bf2daa3970356c6d9c5df
tree6e79c470d978949a9af37a4fa317802d63821761
parent36a59ffc055f56d138ba342fc9c33591e92eaf74
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