]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Add support for trust verification of management commands
authorMarcel Holtmann <marcel@holtmann.org>
Sun, 15 Mar 2015 02:28:03 +0000 (19:28 -0700)
committerJohan Hedberg <johan.hedberg@intel.com>
Sun, 15 Mar 2015 07:58:56 +0000 (09:58 +0200)
commitf12a5d68e1f6b9d8de758f46b2abc9e7402ec90b
tree3b5b4cf14ad95ef992e08930105ec707619050bc
parent022acd294207984983b4d2175c2af8b2854a4105
Bluetooth: Add support for trust verification of management commands

Check the required trust level of each management command with the trust
level of the management socket. If it does not match up, then return the
newly introduced permission denied error.

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