Re: [PATCH] Allow BT_SECURITY for L2CAP raw sockets

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Johan,

> Here's the patch to permit BT_SECURITY for L2CAP raw sockets. It allows
> our BtIO code to be simpler since there's no need to do special L2CAP_LM
> tricks when doing paring using L2CAP raw sockets. It seemed to work fine
> in my tests (both SSP and legacy pairing) so if it's ok with you I'll
> also push the corresponding patch for bluetoothd (which without this
> patch would cause EINVAL when trying pairing on a newer kernel).

I pushed a little bit different version of the patch that only
explicitly allows SOCK_SEQPACKET and SOCK_RAW. In addition I did the
same for the getsockopt() case :)

Regards

Marcel


--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux