From: Marcel Holtmann Date: Wed, 25 Mar 2015 00:31:03 +0000 (-0700) Subject: Bluetooth: Filter list of supported commands/events for untrusted users X-Git-Tag: omap-for-v4.2/o2_dc~131^2~118^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99c679acce5d07aa1be63d8afe94df27f0aecb50;p=pandora-kernel.git 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 Signed-off-by: Johan Hedberg --- Reading git-diff-tree failed