summaryrefslogtreecommitdiff
path: root/net/bluetooth/lib.c
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2015-03-25 03:31:03 +0300
committerJohan Hedberg <johan.hedberg@intel.com>2015-03-25 04:37:42 +0300
commit99c679acce5d07aa1be63d8afe94df27f0aecb50 (patch)
tree619dc9cc51e255e340cfeae729a1fa3422352018 /net/bluetooth/lib.c
parent912098a6308e37208b8dcc46c57c66d0778a854b (diff)
downloadlinux-99c679acce5d07aa1be63d8afe94df27f0aecb50.tar.xz
Bluetooth: Filter list of supported commands/events for untrusted users
When the user of the management interface is not trusted, then it only has access to a limited set of commands and events. When providing the list of supported commands and events take the trusted vs untrusted status of the user into account and return different lists. This way the untrusted user knows exactly which commands it can execute and which events it can receive. So no guesswork needed. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Diffstat (limited to 'net/bluetooth/lib.c')
0 files changed, 0 insertions, 0 deletions