From owner-freebsd-bluetooth@FreeBSD.ORG Fri Oct 31 17:40:38 2008 Return-Path: Delivered-To: freebsd-bluetooth@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 93B6F1065686 for ; Fri, 31 Oct 2008 17:40:38 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.190]) by mx1.freebsd.org (Postfix) with ESMTP id 88F2F8FC1F for ; Fri, 31 Oct 2008 17:40:36 +0000 (UTC) (envelope-from maksim.yevmenkin@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so624116nfh.33 for ; Fri, 31 Oct 2008 10:40:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=8v/ekjJaj6mWVMrC00z65BHd7dFuzKOzTsjKMDrTI44=; b=CzBZBgs7MCwj+amG8A5tC6ttVtLcoGFf5wm8CRiGbZAoiPnssHAwzwjArKv0LzFFwi qHsLKDtyhSTSaUNo5gu654+v4c2RJs/e+v543DZogwKvXv79YZgLhEpPwusgJvHaR/7d ncMP6numAUJmOWDXDjkTcpR8RszoQD9TvSQPQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ToWkM9qbAnQVbWAS6MYFAE18MFUfj3yocuXFdSCR3CElVY1oWwu83fBPF5NX3GcQNu nis+4lo6Sx/jjwWK9xv2vHe60Mh7kWEI6TmDIYA5LtprUh/+ymg4UGPdpFJMeGFuxXFb f7LPwjS3mpbetJIvlyshJa2XYcCHlLOPIfkIA= Received: by 10.86.89.1 with SMTP id m1mr8466169fgb.66.1225474232378; Fri, 31 Oct 2008 10:30:32 -0700 (PDT) Received: by 10.86.9.3 with HTTP; Fri, 31 Oct 2008 10:30:32 -0700 (PDT) Message-ID: Date: Fri, 31 Oct 2008 10:30:32 -0700 From: "Maksim Yevmenkin" To: "Alex Samorukov" In-Reply-To: <490B331F.6020305@os2.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <490B331F.6020305@os2.kiev.ua> Cc: freebsd-bluetooth@freebsd.org Subject: Re: bt dev questions X-BeenThere: freebsd-bluetooth@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using Bluetooth in FreeBSD environments List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 Oct 2008 17:40:39 -0000 Alex, > 1) Why sdpd require root permission to open session? As for me it`s enough > to check use file permissions on control socket. In Linux its possible to > register service w/o root permissions, so in ported version I need to run it > as root and then setuid to normal user. What is the reason for this? to have better control over what services are offered. basically, i do not want to have any random application go and register bunch of non-existent services. requiring 'root' permission is may be a little bit excessive, but its easy to fix. could teach sdpd to accept connections from specified group (or even list of groups/users). > 2) I was not able to find how to change provider name and server > description in SDP_SERVICE_CLASS_SERIAL_PORT profile. anyRemote using usual > serial over bluetooth, but with changed service name field. I found howto > change channel (server_channel) but not description. Is it possible at all? not at this time. > I`m planning to submit my patches to the ports tree at nearest time. thanks for your work. thanks, max