From: Marcel Holtmann <marcel@holtmann.org>
To: Johan Hedberg <johan.hedberg@nokia.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] Allow BT_SECURITY for L2CAP raw sockets
Date: Fri, 20 Feb 2009 20:57:38 +0100 [thread overview]
Message-ID: <1235159858.24255.4.camel@californication> (raw)
In-Reply-To: <20090220132346.GA5255@jh-x301>
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
prev parent reply other threads:[~2009-02-20 19:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-20 13:23 [PATCH] Allow BT_SECURITY for L2CAP raw sockets Johan Hedberg
2009-02-20 19:57 ` Marcel Holtmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1235159858.24255.4.camel@californication \
--to=marcel@holtmann.org \
--cc=johan.hedberg@nokia.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox