linux/include/net/bluetooth
Gustavo Padovan a7d7723ae7 Bluetooth: notify userspace of security level change
It fixes L2CAP socket based security level elevation during a
connection. The HID profile needs this (for keyboards) and it is the only
way to achieve the security level elevation when using the management
interface to talk to the kernel (hence the management enabling patch
being the one that exposes this issue).

It enables the userspace a security level change when the socket is
already connected and create a way to notify the socket the result of the
request. At the moment of the request the socket is made non writable, if
the request fails the connections closes, otherwise the socket is made
writable again, POLL_OUT is emmited.

Signed-off-by: Gustavo Padovan <gustavo@padovan.org>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-05-14 13:51:25 -04:00
..
bluetooth.h Bluetooth: notify userspace of security level change 2012-05-14 13:51:25 -04:00
hci_core.h Bluetooth: Temporary keys should be retained during connection 2012-04-16 12:57:45 +03:00
hci_mon.h Bluetooth: Fix coding style in all .h files 2012-03-07 00:04:25 -03:00
hci.h Bluetooth: Fix userspace compatibility issue with mgmt interface 2012-04-05 15:05:51 -03:00
l2cap.h Bluetooth: Fix coding style in all .h files 2012-03-07 00:04:25 -03:00
mgmt.h Bluetooth: mgmt: Fix timeout type 2012-03-28 15:13:18 -03:00
rfcomm.h Bluetooth: rfcomm: Fix sleep in invalid context in rfcomm_security_cfm 2011-11-07 17:24:49 -02:00
sco.h Bluetooth: clean up legal text 2010-12-01 21:04:43 -02:00
smp.h Bluetooth: Rename smp_key_size to enc_key_size 2012-02-13 17:01:30 +02:00