All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH obexd 1/6 v2] bluetooth: make use of secure flag for authorization
@ 2011-11-27 21:12 Luiz Augusto von Dentz
  2011-11-27 21:12 ` [PATCH obexd 2/6 v2] bluetooth: add .getpeername support Luiz Augusto von Dentz
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Luiz Augusto von Dentz @ 2011-11-27 21:12 UTC (permalink / raw)
  To: linux-bluetooth

From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>

Using secure flag is probably safer here as other services beside OPP
may not require security/authorization.
---

 plugins/bluetooth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugins/bluetooth.c b/plugins/bluetooth.c
index c73beb6..613b2a5 100644
--- a/plugins/bluetooth.c
+++ b/plugins/bluetooth.c
@@ -479,7 +479,7 @@ static void confirm_event(GIOChannel *io, void *user_data)
 		goto drop;
 	}
 
-	if (driver->service != OBEX_OPP) {
+	if (driver->secure) {
 		if (request_service_authorization(service, io, address) < 0)
 			goto drop;
 
-- 
1.7.7.3


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-11-29  9:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-27 21:12 [PATCH obexd 1/6 v2] bluetooth: make use of secure flag for authorization Luiz Augusto von Dentz
2011-11-27 21:12 ` [PATCH obexd 2/6 v2] bluetooth: add .getpeername support Luiz Augusto von Dentz
2011-11-27 21:12 ` [PATCH obexd 3/6 v2] Fix calling getpeername directly on manager.c Luiz Augusto von Dentz
2011-11-27 21:12 ` [PATCH obexd 4/6 v2] Remove obex_get_id Luiz Augusto von Dentz
2011-11-27 21:12 ` [PATCH obexd 5/6 v2] Port core daemon to gobex Luiz Augusto von Dentz
2011-11-29  9:00   ` Johan Hedberg
2011-11-27 21:12 ` [PATCH obexd 6/6 v2] Remove dependency on OpenOBEX Luiz Augusto von Dentz

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.