linux/net/bluetooth
Paul Moore 6230c9b4f8 bluetooth: Properly clone LSM attributes to newly created child connections
The Bluetooth stack has internal connection handlers for all of the various
Bluetooth protocols, and unfortunately, they are currently lacking the LSM
hooks found in the core network stack's connection handlers.  I say
unfortunately, because this can cause problems for users who have have an
LSM enabled and are using certain Bluetooth devices.  See one problem
report below:

 * http://bugzilla.redhat.com/show_bug.cgi?id=741703

In order to keep things simple at this point in time, this patch fixes the
problem by cloning the parent socket's LSM attributes to the newly created
child socket.  If we decide we need a more elaborate LSM marking mechanism
for Bluetooth (I somewhat doubt this) we can always revisit this decision
in the future.

Reported-by: James M. Cape <jcape@ignore-your.tv>
Signed-off-by: Paul Moore <pmoore@redhat.com>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-10-18 23:36:43 -04:00
..
bnep Bluetooth: bnep: Fix deadlock in session deletion 2011-08-11 19:50:27 -03:00
cmtp Bluetooth: cmtp: Fix session cleanup on failed conn add 2011-08-11 19:50:28 -03:00
hidp Bluetooth: hidp: Don't release device ref if never held 2011-08-11 19:50:28 -03:00
rfcomm bluetooth: Properly clone LSM attributes to newly created child connections 2011-10-18 23:36:43 -04:00
af_bluetooth.c Bluetooth: Fix lost wakeups waiting for sock state change 2011-08-11 19:50:26 -03:00
hci_conn.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2011-07-14 07:56:40 -07:00
hci_core.c Bluetooth: Don't use cmd_timer to timeout HCI reset command 2011-08-11 19:50:27 -03:00
hci_event.c Bluetooth: Fix timeout on scanning for the second time 2011-09-15 11:54:05 -03:00
hci_sock.c Bluetooth: Move blacklisting functions to hci_core 2011-06-16 15:19:41 -03:00
hci_sysfs.c Bluetooth: Add variable SSP auto-accept delay support 2011-04-28 16:02:30 -03:00
Kconfig bluetooth: uses crypto interfaces, select CRYPTO 2011-06-27 15:09:39 -04:00
l2cap_core.c Bluetooth: l2cap: Fix lost wakeup waiting for ERTM acks 2011-08-11 19:50:27 -03:00
l2cap_sock.c bluetooth: Properly clone LSM attributes to newly created child connections 2011-10-18 23:36:43 -04:00
lib.c Bluetooth: Add bt_printk 2011-06-30 19:17:12 -03:00
Makefile Bluetooth: Implement the first SMP commands 2011-06-13 15:11:55 -03:00
mgmt.c Bluetooth: Add support for storing the key size 2011-07-08 18:39:19 -03:00
sco.c bluetooth: Properly clone LSM attributes to newly created child connections 2011-10-18 23:36:43 -04:00
smp.c Bluetooth: Add support for storing the key size 2011-07-08 18:39:19 -03:00